#152F0E#152F0E

#152F0E is a dark, moderate green. Relative luminance 0.022; OKLCH L 27.5% C 0.065 H 139.4°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#152F0E
RGBrgb(21, 47, 14)
HSLhsl(107, 54%, 12%)
HSVhsv(107, 70%, 18%)
CMYKcmyk(55.3%, 0%, 70.2%, 81.6%)
CIE-LABlab(16.62, -17.90, 17.64)
CIE-LCHlch(16.62, 25.13, 135.43°)
OKLaboklab(27.52% -0.0491 0.042)
OKLCHoklch(27.52% 0.065 139.4)
XYZxyz(1.4050, 2.2241, 0.7706)
Luminance0.0222 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F0E #280E2F
analogous
#262F0E #152F0E #0E2F18
triadic
#152F0E #0E152F #2F0E15
tetradic
#152F0E #0E262F #280E2F #2F180E
square
#152F0E #0E262F #280E2F #2F180E
split-complementary
#152F0E #180E2F #2F0E26
monochromatic
#0B1807 #0B1807 #152F0E #2A5E1C #3F8D2A

Accessibility & contrast

On white

14.53
#152F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#152F0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152F0E
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F0E#FFFFFF#000000##FFFFFF
##152F0E1.0014.531.4414.53
#FFFFFF14.531.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A0B
Deuteranopia (green-blind)
#2D2810
Tritanopia (blue-blind)
#132D28
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #152f0e;
/* rgb */ color: rgb(21, 47, 14);
/* oklch */ color: oklch(27.5% 0.065 139.4);
Tailwind
colors: {
  custom: {
    50: '#55684e',
    500: '#152f0e',
    950: '#000000',
  },
}
SCSS
$custom: #152f0e;
$custom-light: #55684e;
$custom-dark: #000000;
JSON
{
  "hex": "#152f0e",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 14
  },
  "hsl": {
    "h": 107.273,
    "s": 54.098,
    "l": 11.961
  },
  "oklch": {
    "l": 0.27518,
    "c": 0.06463,
    "h": 139.4
  },
  "luminance": 0.02224
}

Semantic roles & 50–950 ramp

primary
#152F0E
secondary
#5D2F69
accent
#4ADDBE
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #152F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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