#142802#142802

#142802 is a dark, moderate yellow-green. Relative luminance 0.017; OKLCH L 25.0% C 0.067 H 133.0°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#142802
RGBrgb(20, 40, 2)
HSLhsl(92, 90%, 8%)
HSVhsv(92, 95%, 16%)
CMYKcmyk(50%, 0%, 95%, 84.3%)
CIE-LABlab(13.65, -16.17, 18.91)
CIE-LCHlch(13.65, 24.88, 130.54°)
OKLaboklab(25.02% -0.0457 0.049)
OKLCHoklch(25.02% 0.067 133)
XYZxyz(1.0582, 1.6706, 0.3241)
Luminance0.0167 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142802 #160228
analogous
#272802 #142802 #022803
triadic
#142802 #021428 #280214
tetradic
#142802 #022728 #160228 #280302
square
#142802 #022728 #160228 #280302
split-complementary
#142802 #030228 #280227
monochromatic
#0F1D01 #0F1D01 #142802 #316205 #4E9D08

Accessibility & contrast

On white

15.74
#142802 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#142802 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142802
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142802#FFFFFF#000000##FFFFFF
##1428021.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2400
Deuteranopia (green-blind)
#272205
Tritanopia (blue-blind)
#142621
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #142802;
/* rgb */ color: rgb(20, 40, 2);
/* oklch */ color: oklch(25.0% 0.067 133.0);
Tailwind
colors: {
  custom: {
    50: '#536247',
    500: '#142802',
    950: '#000000',
  },
}
SCSS
$custom: #142802;
$custom-light: #536247;
$custom-dark: #000000;
JSON
{
  "hex": "#142802",
  "rgb": {
    "r": 20,
    "g": 40,
    "b": 2
  },
  "hsl": {
    "h": 91.579,
    "s": 90.476,
    "l": 8.235
  },
  "oklch": {
    "l": 0.25024,
    "c": 0.06698,
    "h": 133
  },
  "luminance": 0.01671
}

Semantic roles & 50–950 ramp

primary
#142802
secondary
#45196D
accent
#29FF9A
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#020500
muted
#787977

Preview Lab

Preview with #142802

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

Preview Lab → · Contrast checker → · Palette generator →

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