#154E0F#154E0F

#154E0F is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.3% C 0.110 H 141.8°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#154E0F
RGBrgb(21, 78, 15)
HSLhsl(114, 68%, 18%)
HSVhsv(114, 81%, 31%)
CMYKcmyk(73.1%, 0%, 80.8%, 69.4%)
CIE-LABlab(28.49, -31.69, 30.12)
CIE-LCHlch(28.49, 43.72, 136.45°)
OKLaboklab(37.31% -0.0864 0.0681)
OKLCHoklch(37.31% 0.11 141.8)
XYZxyz(3.1197, 5.6424, 1.3765)
Luminance0.0564 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154E0F #480F4E
analogous
#344E0F #154E0F #0F4E28
triadic
#154E0F #0F154E #4E0F15
tetradic
#154E0F #0F344E #480F4E #4E280F
square
#154E0F #0F344E #480F4E #4E280F
split-complementary
#154E0F #280F4E #4E0F34
monochromatic
#071A05 #071B05 #154E0F #238119 #31B523

Accessibility & contrast

On white

9.87
#154E0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#154E0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154E0F
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154E0F#FFFFFF#000000##FFFFFF
##154E0F1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504604
Deuteranopia (green-blind)
#494116
Tritanopia (blue-blind)
#094B42
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #154e0f;
/* rgb */ color: rgb(21, 78, 15);
/* oklch */ color: oklch(37.3% 0.110 141.8);
Tailwind
colors: {
  custom: {
    50: '#5c8052',
    500: '#154e0f',
    950: '#000000',
  },
}
SCSS
$custom: #154e0f;
$custom-light: #5c8052;
$custom-dark: #000000;
JSON
{
  "hex": "#154e0f",
  "rgb": {
    "r": 21,
    "g": 78,
    "b": 15
  },
  "hsl": {
    "h": 114.286,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37311,
    "c": 0.11,
    "h": 141.8
  },
  "luminance": 0.05643
}

Semantic roles & 50–950 ramp

primary
#154E0F
secondary
#803188
accent
#3DEBDA
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #154E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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