#142902#142902

#142902 is a dark, moderate yellow-green. Relative luminance 0.017; OKLCH L 25.4% C 0.069 H 133.5°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#142902
RGBrgb(20, 41, 2)
HSLhsl(92, 91%, 8%)
HSVhsv(92, 95%, 16%)
CMYKcmyk(51.2%, 0%, 95.1%, 83.9%)
CIE-LABlab(14.05, -16.70, 19.43)
CIE-LCHlch(14.05, 25.62, 130.68°)
OKLaboklab(25.35% -0.0471 0.0497)
OKLCHoklch(25.35% 0.069 133.5)
XYZxyz(1.0924, 1.7389, 0.3355)
Luminance0.0174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142902 #170229
analogous
#272902 #142902 #022903
triadic
#142902 #021429 #290214
tetradic
#142902 #022729 #170229 #290302
square
#142902 #022729 #170229 #290302
split-complementary
#142902 #030229 #290227
monochromatic
#0E1D01 #0E1D01 #142902 #306305 #4D9E08

Accessibility & contrast

On white

15.58
#142902 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#142902 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142902
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142902#FFFFFF#000000##FFFFFF
##1429021.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2500
Deuteranopia (green-blind)
#282305
Tritanopia (blue-blind)
#142721
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #142902;
/* rgb */ color: rgb(20, 41, 2);
/* oklch */ color: oklch(25.4% 0.069 133.5);
Tailwind
colors: {
  custom: {
    50: '#536347',
    500: '#142902',
    950: '#000000',
  },
}
SCSS
$custom: #142902;
$custom-light: #536347;
$custom-dark: #000000;
JSON
{
  "hex": "#142902",
  "rgb": {
    "r": 20,
    "g": 41,
    "b": 2
  },
  "hsl": {
    "h": 92.308,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.25351,
    "c": 0.0685,
    "h": 133.5
  },
  "luminance": 0.01739
}

Semantic roles & 50–950 ramp

primary
#142902
secondary
#47196E
accent
#29FF9C
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#020500
muted
#787977

Preview Lab

Preview with #142902

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

Preview Lab → · Contrast checker → · Palette generator →

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