#152E07#152E07

#152E07 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.1% C 0.070 H 136.4°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#152E07
RGBrgb(21, 46, 7)
HSLhsl(98, 74%, 10%)
HSVhsv(98, 85%, 18%)
CMYKcmyk(54.3%, 0%, 84.8%, 82%)
CIE-LABlab(16.15, -18.25, 20.09)
CIE-LCHlch(16.15, 27.14, 132.25°)
OKLaboklab(27.1% -0.0507 0.0483)
OKLCHoklch(27.1% 0.07 136.4)
XYZxyz(1.3246, 2.1287, 0.5421)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E07 #20072E
analogous
#282E07 #152E07 #072E0D
triadic
#152E07 #07152E #2E0715
tetradic
#152E07 #07282E #20072E #2E0D07
square
#152E07 #07282E #20072E #2E0D07
split-complementary
#152E07 #0D072E #2E0728
monochromatic
#0C1B04 #0C1B04 #152E07 #2D630F #459817

Accessibility & contrast

On white

14.73
#152E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#152E07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152E07
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E07#FFFFFF#000000##FFFFFF
##152E071.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302903
Deuteranopia (green-blind)
#2D270A
Tritanopia (blue-blind)
#142C26
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #152e07;
/* rgb */ color: rgb(21, 46, 7);
/* oklch */ color: oklch(27.1% 0.070 136.4);
Tailwind
colors: {
  custom: {
    50: '#55674a',
    500: '#152e07',
    950: '#000000',
  },
}
SCSS
$custom: #152e07;
$custom-light: #55674a;
$custom-dark: #000000;
JSON
{
  "hex": "#152e07",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 7
  },
  "hsl": {
    "h": 98.462,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27104,
    "c": 0.06998,
    "h": 136.4
  },
  "luminance": 0.02129
}

Semantic roles & 50–950 ramp

primary
#152E07
secondary
#53236E
accent
#38F0AE
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #152E07

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

Preview Lab → · Contrast checker → · Palette generator →

#152E07 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva