#154017#154017

#154017 is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.0% C 0.083 H 144.2°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#154017
RGBrgb(21, 64, 23)
HSLhsl(123, 51%, 17%)
HSVhsv(123, 67%, 25%)
CMYKcmyk(67.2%, 0%, 64.1%, 74.9%)
CIE-LABlab(23.30, -24.82, 20.46)
CIE-LCHlch(23.30, 32.17, 140.50°)
OKLaboklab(33.04% -0.0673 0.0486)
OKLCHoklch(33.04% 0.083 144.2)
XYZxyz(2.2972, 3.8879, 1.4398)
Luminance0.0389 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154017 #40153E
analogous
#294015 #154017 #15402D
triadic
#154017 #171540 #401715
tetradic
#154017 #152940 #40153E #402D15
square
#154017 #152940 #40153E #402D15
split-complementary
#154017 #2D1540 #401529
monochromatic
#081708 #081708 #154017 #246E28 #339C38

Accessibility & contrast

On white

11.81
#154017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#154017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154017
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154017#FFFFFF#000000##FFFFFF
##1540171.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A13
Deuteranopia (green-blind)
#3C361A
Tritanopia (blue-blind)
#0D3E37
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #154017;
/* rgb */ color: rgb(21, 64, 23);
/* oklch */ color: oklch(33.0% 0.083 144.2);
Tailwind
colors: {
  custom: {
    50: '#587555',
    500: '#154017',
    950: '#000000',
  },
}
SCSS
$custom: #154017;
$custom-light: #587555;
$custom-dark: #000000;
JSON
{
  "hex": "#154017",
  "rgb": {
    "r": 21,
    "g": 64,
    "b": 23
  },
  "hsl": {
    "h": 122.791,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.33044,
    "c": 0.08305,
    "h": 144.2
  },
  "luminance": 0.03888
}

Semantic roles & 50–950 ramp

primary
#154017
secondary
#783975
accent
#4ED4DA
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#040803
muted
#797B78

Preview Lab

Preview with #154017

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

Preview Lab → · Contrast checker → · Palette generator →

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