#154A0F#154A0F

#154A0F is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.1% C 0.105 H 141.7°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#154A0F
RGBrgb(21, 74, 15)
HSLhsl(114, 66%, 17%)
HSVhsv(114, 80%, 29%)
CMYKcmyk(71.6%, 0%, 79.7%, 71%)
CIE-LABlab(26.99, -30.09, 28.59)
CIE-LCHlch(26.99, 41.51, 136.46°)
OKLaboklab(36.07% -0.0821 0.0649)
OKLCHoklch(36.07% 0.105 141.7)
XYZxyz(2.8441, 5.0912, 1.2847)
Luminance0.0509 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154A0F #440F4A
analogous
#334A0F #154A0F #0F4A26
triadic
#154A0F #0F154A #4A0F15
tetradic
#154A0F #0F334A #440F4A #4A260F
square
#154A0F #0F334A #440F4A #4A260F
split-complementary
#154A0F #260F4A #4A0F33
monochromatic
#071905 #071905 #154A0F #237D19 #32B024

Accessibility & contrast

On white

10.41
#154A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#154A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154A0F
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154A0F#FFFFFF#000000##FFFFFF
##154A0F1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4206
Deuteranopia (green-blind)
#463E15
Tritanopia (blue-blind)
#0B473E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #154a0f;
/* rgb */ color: rgb(21, 74, 15);
/* oklch */ color: oklch(36.1% 0.105 141.7);
Tailwind
colors: {
  custom: {
    50: '#5b7d51',
    500: '#154a0f',
    950: '#000000',
  },
}
SCSS
$custom: #154a0f;
$custom-light: #5b7d51;
$custom-dark: #000000;
JSON
{
  "hex": "#154a0f",
  "rgb": {
    "r": 21,
    "g": 74,
    "b": 15
  },
  "hsl": {
    "h": 113.898,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.3607,
    "c": 0.10462,
    "h": 141.7
  },
  "luminance": 0.05091
}

Semantic roles & 50–950 ramp

primary
#154A0F
secondary
#7C3084
accent
#3FE9D8
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #154A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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