#142803#142803

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

Color values

HEX#142803
RGBrgb(20, 40, 3)
HSLhsl(92, 86%, 8%)
HSVhsv(92, 93%, 16%)
CMYKcmyk(50%, 0%, 92.5%, 84.3%)
CIE-LABlab(13.67, -16.03, 18.51)
CIE-LCHlch(13.67, 24.49, 130.89°)
OKLaboklab(25.04% -0.0452 0.0477)
OKLCHoklch(25.04% 0.066 133.4)
XYZxyz(1.0637, 1.6728, 0.3530)
Luminance0.0167 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142803 #170328
analogous
#262803 #142803 #032804
triadic
#142803 #031428 #280314
tetradic
#142803 #032628 #170328 #280403
square
#142803 #032628 #170328 #280403
split-complementary
#142803 #040328 #280326
monochromatic
#0E1C02 #0E1C02 #142803 #306107 #4D9A0C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##142803#FFFFFF#000000##FFFFFF
##1428031.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)
#272206
Tritanopia (blue-blind)
#142621
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #142803;
/* rgb */ color: rgb(20, 40, 3);
/* oklch */ color: oklch(25.0% 0.066 133.4);
Tailwind
colors: {
  custom: {
    50: '#536248',
    500: '#142803',
    950: '#000000',
  },
}
SCSS
$custom: #142803;
$custom-light: #536248;
$custom-dark: #000000;
JSON
{
  "hex": "#142803",
  "rgb": {
    "r": 20,
    "g": 40,
    "b": 3
  },
  "hsl": {
    "h": 92.432,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.25039,
    "c": 0.06569,
    "h": 133.4
  },
  "luminance": 0.01673
}

Semantic roles & 50–950 ramp

primary
#142803
secondary
#471B6C
accent
#2CFC9C
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#020500
muted
#787977

Preview Lab

Preview with #142803

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

Preview Lab → · Contrast checker → · Palette generator →

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