#154C0F#154C0F

#154C0F is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.7% C 0.107 H 141.7°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#154C0F
RGBrgb(21, 76, 15)
HSLhsl(114, 67%, 18%)
HSVhsv(114, 80%, 30%)
CMYKcmyk(72.4%, 0%, 80.3%, 70.2%)
CIE-LABlab(27.74, -30.89, 29.36)
CIE-LCHlch(27.74, 42.62, 136.45°)
OKLaboklab(36.69% -0.0842 0.0665)
OKLCHoklch(36.69% 0.107 141.7)
XYZxyz(2.9798, 5.3625, 1.3299)
Luminance0.0536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154C0F #460F4C
analogous
#334C0F #154C0F #0F4C27
triadic
#154C0F #0F154C #4C0F15
tetradic
#154C0F #0F334C #460F4C #4C270F
square
#154C0F #0F334C #460F4C #4C270F
split-complementary
#154C0F #270F4C #4C0F33
monochromatic
#071A05 #071A05 #154C0F #237F19 #31B223

Accessibility & contrast

On white

10.13
#154C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#154C0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154C0F
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154C0F#FFFFFF#000000##FFFFFF
##154C0F1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4405
Deuteranopia (green-blind)
#474015
Tritanopia (blue-blind)
#0A4940
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #154c0f;
/* rgb */ color: rgb(21, 76, 15);
/* oklch */ color: oklch(36.7% 0.107 141.7);
Tailwind
colors: {
  custom: {
    50: '#5c7f52',
    500: '#154c0f',
    950: '#000000',
  },
}
SCSS
$custom: #154c0f;
$custom-light: #5c7f52;
$custom-dark: #000000;
JSON
{
  "hex": "#154c0f",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 15
  },
  "hsl": {
    "h": 114.098,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36692,
    "c": 0.10733,
    "h": 141.7
  },
  "luminance": 0.05363
}

Semantic roles & 50–950 ramp

primary
#154C0F
secondary
#7E3186
accent
#3EEAD9
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #154C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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