#142B02#142B02

#142B02 is a dark, moderate yellow-green. Relative luminance 0.019; OKLCH L 26.0% C 0.071 H 134.3°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#142B02
RGBrgb(20, 43, 2)
HSLhsl(94, 91%, 9%)
HSVhsv(94, 95%, 17%)
CMYKcmyk(53.5%, 0%, 95.3%, 83.1%)
CIE-LABlab(14.85, -17.74, 20.46)
CIE-LCHlch(14.85, 27.08, 130.93°)
OKLaboklab(26% -0.0499 0.0512)
OKLCHoklch(26% 0.072 134.3)
XYZxyz(1.1633, 1.8808, 0.3592)
Luminance0.0188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142B02 #19022B
analogous
#292B02 #142B02 #022B05
triadic
#142B02 #02142B #2B0214
tetradic
#142B02 #02292B #19022B #2B0502
square
#142B02 #02292B #19022B #2B0502
split-complementary
#142B02 #05022B #2B0229
monochromatic
#0E1D01 #0E1D01 #142B02 #2F6505 #4AA007

Accessibility & contrast

On white

15.26
#142B02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#142B02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142B02
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142B02#FFFFFF#000000##FFFFFF
##142B021.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2700
Deuteranopia (green-blind)
#2A2505
Tritanopia (blue-blind)
#142923
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #142b02;
/* rgb */ color: rgb(20, 43, 2);
/* oklch */ color: oklch(26.0% 0.071 134.3);
Tailwind
colors: {
  custom: {
    50: '#536447',
    500: '#142b02',
    950: '#000000',
  },
}
SCSS
$custom: #142b02;
$custom-light: #536447;
$custom-dark: #000000;
JSON
{
  "hex": "#142b02",
  "rgb": {
    "r": 20,
    "g": 43,
    "b": 2
  },
  "hsl": {
    "h": 93.659,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.26004,
    "c": 0.0715,
    "h": 134.3
  },
  "luminance": 0.01881
}

Semantic roles & 50–950 ramp

primary
#142B02
secondary
#4A1970
accent
#29FFA1
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#030500
muted
#787A77

Preview Lab

Preview with #142B02

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

Preview Lab → · Contrast checker → · Palette generator →

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