#142C03#142C03

#142C03 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.3% C 0.072 H 135.0°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#142C03
RGBrgb(20, 44, 3)
HSLhsl(95, 87%, 9%)
HSVhsv(95, 93%, 17%)
CMYKcmyk(54.5%, 0%, 93.2%, 82.7%)
CIE-LABlab(15.26, -18.12, 20.58)
CIE-LCHlch(15.26, 27.42, 131.37°)
OKLaboklab(26.34% -0.0508 0.0508)
OKLCHoklch(26.34% 0.072 135)
XYZxyz(1.2056, 1.9566, 0.4003)
Luminance0.0196 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C03 #1B032C
analogous
#292C03 #142C03 #032C07
triadic
#142C03 #03142C #2C0314
tetradic
#142C03 #03292C #1B032C #2C0703
square
#142C03 #03292C #1B032C #2C0703
split-complementary
#142C03 #07032C #2C0329
monochromatic
#0D1D02 #0D1D02 #142C03 #2E6507 #489F0B

Accessibility & contrast

On white

15.09
#142C03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#142C03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142C03
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C03#FFFFFF#000000##FFFFFF
##142C031.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#2B2606
Tritanopia (blue-blind)
#132A24
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #142c03;
/* rgb */ color: rgb(20, 44, 3);
/* oklch */ color: oklch(26.3% 0.072 135.0);
Tailwind
colors: {
  custom: {
    50: '#546548',
    500: '#142c03',
    950: '#000000',
  },
}
SCSS
$custom: #142c03;
$custom-light: #546548;
$custom-dark: #000000;
JSON
{
  "hex": "#142c03",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 3
  },
  "hsl": {
    "h": 95.122,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.26343,
    "c": 0.07183,
    "h": 135
  },
  "luminance": 0.01957
}

Semantic roles & 50–950 ramp

primary
#142C03
secondary
#4D1B70
accent
#2AFDA6
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#030500
muted
#787A77

Preview Lab

Preview with #142C03

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

Preview Lab → · Contrast checker → · Palette generator →

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