#054C19

A color in the Green family

#054c19 is a color in the Green family: RGB(5, 76, 25), HSL(137°, 88%, 16%), CMYK(93%, 0%, 67%, 70%). Closest named color: darkgreen. Contrast is 10.22:1 on white and 2.05:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#054c19
RGBrgb(5 76 25)
RGB (legacy)rgb(5, 76, 25)
RGB %rgb(2% 30% 10%)
HSLhsl(137 88% 16%)
HSV / HSBhsv(137, 93%, 30%)
HWBhwb(137 2% 70%)
CMYKcmyk(93%, 0%, 67%, 70%)
CIELAB (D50)lab(27.5 -30.44 23.63)
LCHlch(27.5 38.54 142.18)
OKLaboklab(0.3642 -0.0877 0.0568)
OKLCHoklch(0.3642 0.1045 147.04)
Decimal347161

Properties

Color ToneGreen
Closest named colordarkgreen ΔE 8.5
Closest web-safe color#003300
Hue137°
Saturation (HSL / HSV)88% / 93%
Lightness (HSL)16%
Brightness or Value (HSV)30%
Luminance (Rec.601 / Rec.709)19% / 22%
Relative luminance (WCAG)0.0527
Red / Green / Blue5 / 76 / 25

WCAG 2.2 Contrast Ratio

On White (#ffffff)
10.22:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.05: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 93.2 / -9.2 · As background with white / black text: Lc -97.4 / 10.7

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: #054c19;
  --color-brand-oklch: oklch(36.42% 0.1045 147.04);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(5 76 25 / 50%); }
/* Tailwind CSS */
<div class="bg-[#054c19] text-[#054c19] border-[#054c19]">