#154D0F#154D0F

#154D0F is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.0% C 0.109 H 141.7°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#154D0F
RGBrgb(21, 77, 15)
HSLhsl(114, 67%, 18%)
HSVhsv(114, 81%, 30%)
CMYKcmyk(72.7%, 0%, 80.5%, 69.8%)
CIE-LABlab(28.12, -31.29, 29.74)
CIE-LCHlch(28.12, 43.17, 136.45°)
OKLaboklab(37% -0.0853 0.0673)
OKLCHoklch(37% 0.109 141.7)
XYZxyz(3.0492, 5.5014, 1.3530)
Luminance0.0550 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154D0F #470F4D
analogous
#344D0F #154D0F #0F4D28
triadic
#154D0F #0F154D #4D0F15
tetradic
#154D0F #0F344D #470F4D #4D280F
square
#154D0F #0F344D #470F4D #4D280F
split-complementary
#154D0F #280F4D #4D0F34
monochromatic
#071A05 #071A05 #154D0F #238019 #31B323

Accessibility & contrast

On white

10.00
#154D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#154D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154D0F
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154D0F#FFFFFF#000000##FFFFFF
##154D0F1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4505
Deuteranopia (green-blind)
#484115
Tritanopia (blue-blind)
#094A41
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #154d0f;
/* rgb */ color: rgb(21, 77, 15);
/* oklch */ color: oklch(37.0% 0.109 141.7);
Tailwind
colors: {
  custom: {
    50: '#5c7f52',
    500: '#154d0f',
    950: '#000000',
  },
}
SCSS
$custom: #154d0f;
$custom-light: #5c7f52;
$custom-dark: #000000;
JSON
{
  "hex": "#154d0f",
  "rgb": {
    "r": 21,
    "g": 77,
    "b": 15
  },
  "hsl": {
    "h": 114.194,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37002,
    "c": 0.10866,
    "h": 141.7
  },
  "luminance": 0.05502
}

Semantic roles & 50–950 ramp

primary
#154D0F
secondary
#7F3187
accent
#3EEADA
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #154D0F

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

Preview Lab → · Contrast checker → · Palette generator →

#154D0F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva