#142D03#142D03

#142D03 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.7% C 0.073 H 135.3°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#142D03
RGBrgb(20, 45, 3)
HSLhsl(96, 88%, 9%)
HSVhsv(96, 93%, 18%)
CMYKcmyk(55.6%, 0%, 93.3%, 82.4%)
CIE-LABlab(15.65, -18.63, 21.09)
CIE-LCHlch(15.65, 28.14, 131.46°)
OKLaboklab(26.67% -0.0521 0.0516)
OKLCHoklch(26.67% 0.073 135.3)
XYZxyz(1.2433, 2.0320, 0.4128)
Luminance0.0203 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142D03 #1C032D
analogous
#292D03 #142D03 #032D07
triadic
#142D03 #03142D #2D0314
tetradic
#142D03 #03292D #1C032D #2D0703
square
#142D03 #03292D #1C032D #2D0703
split-complementary
#142D03 #07032D #2D0329
monochromatic
#0D1D02 #0D1D02 #142D03 #2E6607 #47A00B

Accessibility & contrast

On white

14.93
#142D03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#142D03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142D03
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142D03#FFFFFF#000000##FFFFFF
##142D031.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#2C2606
Tritanopia (blue-blind)
#132B25
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #142d03;
/* rgb */ color: rgb(20, 45, 3);
/* oklch */ color: oklch(26.7% 0.073 135.3);
Tailwind
colors: {
  custom: {
    50: '#546648',
    500: '#142d03',
    950: '#000000',
  },
}
SCSS
$custom: #142d03;
$custom-light: #546648;
$custom-dark: #000000;
JSON
{
  "hex": "#142d03",
  "rgb": {
    "r": 20,
    "g": 45,
    "b": 3
  },
  "hsl": {
    "h": 95.714,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.26669,
    "c": 0.07333,
    "h": 135.3
  },
  "luminance": 0.02032
}

Semantic roles & 50–950 ramp

primary
#142D03
secondary
#4E1B71
accent
#2AFEA8
background
#F4F6F4
surface
#E8EBE6
border
#C4C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #142D03

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

Preview Lab → · Contrast checker → · Palette generator →

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