#054207#054207

#054207 is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.0% C 0.105 H 143.1°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#054207
RGBrgb(5, 66, 7)
HSLhsl(122, 86%, 14%)
HSVhsv(122, 92%, 26%)
CMYKcmyk(92.4%, 0%, 89.4%, 74.1%)
CIE-LABlab(23.48, -31.04, 28.27)
CIE-LCHlch(23.48, 41.98, 137.67°)
OKLaboklab(33.03% -0.0841 0.0632)
OKLCHoklch(33.03% 0.105 143.1)
XYZxyz(2.0490, 3.9438, 0.8542)
Luminance0.0394 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054207 #420540
analogous
#224205 #054207 #054226
triadic
#054207 #070542 #420705
tetradic
#054207 #052242 #420540 #422605
square
#054207 #052242 #420540 #422605
split-complementary
#054207 #260542 #420522
monochromatic
#021C03 #021C03 #054207 #097B0D #0EB413

Accessibility & contrast

On white

11.74
#054207 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#054207 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #054207
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054207#FFFFFF#000000##FFFFFF
##0542071.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#3D360E
Tritanopia (blue-blind)
#004037
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #054207;
/* rgb */ color: rgb(5, 66, 7);
/* oklch */ color: oklch(33.0% 0.105 143.1);
Tailwind
colors: {
  custom: {
    50: '#53774c',
    500: '#054207',
    950: '#000000',
  },
}
SCSS
$custom: #054207;
$custom-light: #53774c;
$custom-dark: #000000;
JSON
{
  "hex": "#054207",
  "rgb": {
    "r": 5,
    "g": 66,
    "b": 7
  },
  "hsl": {
    "h": 121.967,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33027,
    "c": 0.10518,
    "h": 143.1
  },
  "luminance": 0.03944
}

Semantic roles & 50–950 ramp

primary
#054207
secondary
#82207F
accent
#2CF5FC
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030901
muted
#787B77

Preview Lab

Preview with #054207

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#054207 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva