#154107#154107

#154107 is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.2% C 0.098 H 139.6°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#154107
RGBrgb(21, 65, 7)
HSLhsl(106, 81%, 14%)
HSVhsv(106, 89%, 25%)
CMYKcmyk(67.7%, 0%, 89.2%, 74.5%)
CIE-LABlab(23.52, -27.05, 28.45)
CIE-LCHlch(23.52, 39.26, 133.56°)
OKLaboklab(33.18% -0.0744 0.0634)
OKLCHoklch(33.18% 0.098 139.6)
XYZxyz(2.2378, 3.9552, 0.8465)
Luminance0.0396 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154107 #330741
analogous
#324107 #154107 #074116
triadic
#154107 #071541 #410715
tetradic
#154107 #073241 #330741 #411607
square
#154107 #073241 #330741 #411607
split-complementary
#154107 #160741 #410732
monochromatic
#091C03 #091C03 #154107 #27780D #39B013

Accessibility & contrast

On white

11.73
#154107 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#154107 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154107
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154107#FFFFFF#000000##FFFFFF
##1541071.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#3E370E
Tritanopia (blue-blind)
#103E36
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #154107;
/* rgb */ color: rgb(21, 65, 7);
/* oklch */ color: oklch(33.2% 0.098 139.6);
Tailwind
colors: {
  custom: {
    50: '#59764c',
    500: '#154107',
    950: '#000000',
  },
}
SCSS
$custom: #154107;
$custom-light: #59764c;
$custom-dark: #000000;
JSON
{
  "hex": "#154107",
  "rgb": {
    "r": 21,
    "g": 65,
    "b": 7
  },
  "hsl": {
    "h": 105.517,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.3318,
    "c": 0.09774,
    "h": 139.6
  },
  "luminance": 0.03955
}

Semantic roles & 50–950 ramp

primary
#154107
secondary
#6A2480
accent
#31F7C7
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #154107

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

Preview Lab → · Contrast checker → · Palette generator →

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