#154207#154207

#154207 is a dark, moderate green. Relative luminance 0.041; OKLCH L 33.5% C 0.099 H 139.7°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#154207
RGBrgb(21, 66, 7)
HSLhsl(106, 81%, 14%)
HSVhsv(106, 89%, 26%)
CMYKcmyk(68.2%, 0%, 89.4%, 74.1%)
CIE-LABlab(23.90, -27.47, 28.83)
CIE-LCHlch(23.90, 39.82, 133.62°)
OKLaboklab(33.5% -0.0755 0.0642)
OKLCHoklch(33.5% 0.099 139.7)
XYZxyz(2.2957, 4.0710, 0.8658)
Luminance0.0407 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154207 #340742
analogous
#334207 #154207 #074217
triadic
#154207 #071542 #420715
tetradic
#154207 #073342 #340742 #421707
square
#154207 #073342 #340742 #421707
split-complementary
#154207 #170742 #420733
monochromatic
#091C03 #091C03 #154207 #27790D #38B113

Accessibility & contrast

On white

11.58
#154207 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#154207 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154207
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154207#FFFFFF#000000##FFFFFF
##1542071.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#3F370E
Tritanopia (blue-blind)
#0F3F37
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #154207;
/* rgb */ color: rgb(21, 66, 7);
/* oklch */ color: oklch(33.5% 0.099 139.7);
Tailwind
colors: {
  custom: {
    50: '#5a774c',
    500: '#154207',
    950: '#000000',
  },
}
SCSS
$custom: #154207;
$custom-light: #5a774c;
$custom-dark: #000000;
JSON
{
  "hex": "#154207",
  "rgb": {
    "r": 21,
    "g": 66,
    "b": 7
  },
  "hsl": {
    "h": 105.763,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33496,
    "c": 0.0991,
    "h": 139.7
  },
  "luminance": 0.04071
}

Semantic roles & 50–950 ramp

primary
#154207
secondary
#6B2481
accent
#31F7C8
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #154207

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

Preview Lab → · Contrast checker → · Palette generator →

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