#045310

A color in the Green family

#045310 is a color in the Green family: RGB(4, 83, 16), HSL(129°, 91%, 17%), CMYK(95%, 0%, 81%, 67%). Closest named color: darkgreen. Contrast is 9.33:1 on white and 2.25:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#045310
RGBrgb(4 83 16)
RGB (legacy)rgb(4, 83, 16)
RGB %rgb(2% 33% 6%)
HSLhsl(129 91% 17%)
HSV / HSBhsv(129, 95%, 33%)
HWBhwb(129 2% 67%)
CMYKcmyk(95%, 0%, 81%, 67%)
CIELAB (D50)lab(30.06 -33.63 30.44)
LCHlch(30.06 45.36 137.86)
OKLaboklab(0.385 -0.0981 0.0705)
OKLCHoklch(0.385 0.1208 144.31)
Decimal283408

Properties

Color ToneGreen
Closest named colordarkgreen ΔE 5.8
Closest web-safe color#006600
Hue129°
Saturation (HSL / HSV)91% / 95%
Lightness (HSL)17%
Brightness or Value (HSV)33%
Luminance (Rec.601 / Rec.709)20% / 24%
Relative luminance (WCAG)0.0625
Red / Green / Blue4 / 83 / 16

WCAG 2.2 Contrast Ratio

On White (#ffffff)
9.33:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.25:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 91 / -11.3 · As background with white / black text: Lc -95.4 / 13

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #045310;
  --color-brand-oklch: oklch(38.5% 0.1208 144.31);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(4 83 16 / 50%); }
/* Tailwind CSS */
<div class="bg-[#045310] text-[#045310] border-[#045310]">