#054706#054706

#054706 is a dark, moderate green. Relative luminance 0.046; OKLCH L 34.6% C 0.112 H 142.8°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#054706
RGBrgb(5, 71, 6)
HSLhsl(121, 87%, 15%)
HSVhsv(121, 93%, 28%)
CMYKcmyk(93%, 0%, 91.5%, 72.2%)
CIE-LABlab(25.42, -32.89, 30.56)
CIE-LCHlch(25.42, 44.90, 137.10°)
OKLaboklab(34.64% -0.0892 0.0676)
OKLCHoklch(34.64% 0.112 142.8)
XYZxyz(2.3485, 4.5516, 0.9270)
Luminance0.0455 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054706 #470546
analogous
#254705 #054706 #054727
triadic
#054706 #060547 #470605
tetradic
#054706 #052547 #470546 #472705
square
#054706 #052547 #470546 #472705
split-complementary
#054706 #270547 #470525
monochromatic
#021D02 #021D02 #054706 #09800B #0DB910

Accessibility & contrast

On white

10.99
#054706 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#054706 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #054706
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054706#FFFFFF#000000##FFFFFF
##0547061.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#493F00
Deuteranopia (green-blind)
#423A0E
Tritanopia (blue-blind)
#00453B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #054706;
/* rgb */ color: rgb(5, 71, 6);
/* oklch */ color: oklch(34.6% 0.112 142.8);
Tailwind
colors: {
  custom: {
    50: '#557b4c',
    500: '#054706',
    950: '#000000',
  },
}
SCSS
$custom: #054706;
$custom-light: #557b4c;
$custom-dark: #000000;
JSON
{
  "hex": "#054706",
  "rgb": {
    "r": 5,
    "g": 71,
    "b": 6
  },
  "hsl": {
    "h": 120.909,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.34635,
    "c": 0.11195,
    "h": 142.8
  },
  "luminance": 0.04552
}

Semantic roles & 50–950 ramp

primary
#054706
secondary
#872185
accent
#2BFAFD
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#030901
muted
#787B77

Preview Lab

Preview with #054706

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

Preview Lab → · Contrast checker → · Palette generator →

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