#142D07#142D07

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

Color values

HEX#142D07
RGBrgb(20, 45, 7)
HSLhsl(99, 73%, 10%)
HSVhsv(99, 84%, 18%)
CMYKcmyk(55.6%, 0%, 84.4%, 82.4%)
CIE-LABlab(15.70, -18.14, 19.51)
CIE-LCHlch(15.70, 26.64, 132.91°)
OKLaboklab(26.72% -0.0503 0.0473)
OKLCHoklch(26.72% 0.069 136.8)
XYZxyz(1.2652, 2.0408, 0.5282)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142D07 #20072D
analogous
#272D07 #142D07 #072D0D
triadic
#142D07 #07142D #2D0714
tetradic
#142D07 #07272D #20072D #2D0D07
square
#142D07 #07272D #20072D #2D0D07
split-complementary
#142D07 #0D072D #2D0727
monochromatic
#0C1A04 #0C1A04 #142D07 #2C620F #439717

Accessibility & contrast

On white

14.91
#142D07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142D07
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142D07#FFFFFF#000000##FFFFFF
##142D071.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #142d07;
/* rgb */ color: rgb(20, 45, 7);
/* oklch */ color: oklch(26.7% 0.069 136.8);
Tailwind
colors: {
  custom: {
    50: '#54664a',
    500: '#142d07',
    950: '#000000',
  },
}
SCSS
$custom: #142d07;
$custom-light: #54664a;
$custom-dark: #000000;
JSON
{
  "hex": "#142d07",
  "rgb": {
    "r": 20,
    "g": 45,
    "b": 7
  },
  "hsl": {
    "h": 99.474,
    "s": 73.077,
    "l": 10.196
  },
  "oklch": {
    "l": 0.2672,
    "c": 0.06903,
    "h": 136.8
  },
  "luminance": 0.02041
}

Semantic roles & 50–950 ramp

primary
#142D07
secondary
#54236D
accent
#38F0B1
background
#F4F6F4
surface
#E8EBE7
border
#C4C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #142D07

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

Preview Lab → · Contrast checker → · Palette generator →

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