#054007#054007

#054007 is a dark, moderate green. Relative luminance 0.037; OKLCH L 32.4% C 0.103 H 143.1°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#054007
RGBrgb(5, 64, 7)
HSLhsl(122, 86%, 14%)
HSVhsv(122, 92%, 25%)
CMYKcmyk(92.2%, 0%, 89.1%, 74.9%)
CIE-LABlab(22.70, -30.32, 27.47)
CIE-LCHlch(22.70, 40.91, 137.82°)
OKLaboklab(32.38% -0.0821 0.0616)
OKLCHoklch(32.38% 0.103 143.1)
XYZxyz(1.9342, 3.7142, 0.8159)
Luminance0.0371 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054007 #40053E
analogous
#204005 #054007 #054024
triadic
#054007 #070540 #400705
tetradic
#054007 #052040 #40053E #402405
square
#054007 #052040 #40053E #402405
split-complementary
#054007 #240540 #400520
monochromatic
#021C03 #021C03 #054007 #09790D #0EB213

Accessibility & contrast

On white

12.05
#054007 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#054007 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #054007
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054007#FFFFFF#000000##FFFFFF
##0540071.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#3B350E
Tritanopia (blue-blind)
#003E35
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #054007;
/* rgb */ color: rgb(5, 64, 7);
/* oklch */ color: oklch(32.4% 0.103 143.1);
Tailwind
colors: {
  custom: {
    50: '#53764c',
    500: '#054007',
    950: '#000000',
  },
}
SCSS
$custom: #054007;
$custom-light: #53764c;
$custom-dark: #000000;
JSON
{
  "hex": "#054007",
  "rgb": {
    "r": 5,
    "g": 64,
    "b": 7
  },
  "hsl": {
    "h": 122.034,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32376,
    "c": 0.10269,
    "h": 143.1
  },
  "luminance": 0.03714
}

Semantic roles & 50–950 ramp

primary
#054007
secondary
#81207D
accent
#2CF5FC
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #054007

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

Preview Lab → · Contrast checker → · Palette generator →

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