#142E03#142E03

#142E03 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.0% C 0.075 H 135.6°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#142E03
RGBrgb(20, 46, 3)
HSLhsl(96, 88%, 10%)
HSVhsv(96, 93%, 18%)
CMYKcmyk(56.5%, 0%, 93.5%, 82%)
CIE-LABlab(16.05, -19.13, 21.58)
CIE-LCHlch(16.05, 28.84, 131.55°)
OKLaboklab(26.99% -0.0535 0.0523)
OKLCHoklch(26.99% 0.075 135.6)
XYZxyz(1.2819, 2.1092, 0.4257)
Luminance0.0211 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142E03 #1D032E
analogous
#2A2E03 #142E03 #032E08
triadic
#142E03 #03142E #2E0314
tetradic
#142E03 #032A2E #1D032E #2E0803
square
#142E03 #032A2E #1D032E #2E0803
split-complementary
#142E03 #08032E #2E032A
monochromatic
#0C1D02 #0C1D02 #142E03 #2D6707 #46A10A

Accessibility & contrast

On white

14.77
#142E03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#142E03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142E03
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142E03#FFFFFF#000000##FFFFFF
##142E031.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#2D2706
Tritanopia (blue-blind)
#132C26
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #142e03;
/* rgb */ color: rgb(20, 46, 3);
/* oklch */ color: oklch(27.0% 0.075 135.6);
Tailwind
colors: {
  custom: {
    50: '#546748',
    500: '#142e03',
    950: '#000000',
  },
}
SCSS
$custom: #142e03;
$custom-light: #546748;
$custom-dark: #000000;
JSON
{
  "hex": "#142e03",
  "rgb": {
    "r": 20,
    "g": 46,
    "b": 3
  },
  "hsl": {
    "h": 96.279,
    "s": 87.755,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26994,
    "c": 0.07482,
    "h": 135.6
  },
  "luminance": 0.02109
}

Semantic roles & 50–950 ramp

primary
#142E03
secondary
#4F1B72
accent
#2AFEAA
background
#F5F6F4
surface
#E8EBE6
border
#C4C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #142E03

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

Preview Lab → · Contrast checker → · Palette generator →

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