#142F02#142F02

#142F02 is a dark, moderate yellow-green. Relative luminance 0.022; OKLCH L 27.3% C 0.077 H 135.6°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#142F02
RGBrgb(20, 47, 2)
HSLhsl(96, 92%, 10%)
HSVhsv(96, 96%, 18%)
CMYKcmyk(57.4%, 0%, 95.7%, 81.6%)
CIE-LABlab(16.43, -19.74, 22.47)
CIE-LCHlch(16.43, 29.91, 131.30°)
OKLaboklab(27.31% -0.0553 0.0542)
OKLCHoklch(27.31% 0.077 135.6)
XYZxyz(1.3159, 2.1860, 0.4100)
Luminance0.0219 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F02 #1D022F
analogous
#2B2F02 #142F02 #022F07
triadic
#142F02 #02142F #2F0214
tetradic
#142F02 #022B2F #1D022F #2F0702
square
#142F02 #022B2F #1D022F #2F0702
split-complementary
#142F02 #07022F #2F022B
monochromatic
#0C1D01 #0C1D01 #142F02 #2D6A04 #46A407

Accessibility & contrast

On white

14.61
#142F02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#142F02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142F02
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F02#FFFFFF#000000##FFFFFF
##142F021.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#2E2806
Tritanopia (blue-blind)
#132D27
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #142f02;
/* rgb */ color: rgb(20, 47, 2);
/* oklch */ color: oklch(27.3% 0.077 135.6);
Tailwind
colors: {
  custom: {
    50: '#546848',
    500: '#142f02',
    950: '#000000',
  },
}
SCSS
$custom: #142f02;
$custom-light: #546848;
$custom-dark: #000000;
JSON
{
  "hex": "#142f02",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 2
  },
  "hsl": {
    "h": 96,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.27307,
    "c": 0.07737,
    "h": 135.6
  },
  "luminance": 0.02186
}

Semantic roles & 50–950 ramp

primary
#142F02
secondary
#4F1974
accent
#29FFA9
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #142F02

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

Preview Lab → · Contrast checker → · Palette generator →

#142F02 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva