#142A06#142A06

#142A06 is a dark, moderate yellow-green. Relative luminance 0.018; OKLCH L 25.7% C 0.065 H 135.5°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#142A06
RGBrgb(20, 42, 6)
HSLhsl(97, 75%, 9%)
HSVhsv(97, 86%, 16%)
CMYKcmyk(52.4%, 0%, 85.7%, 83.5%)
CIE-LABlab(14.50, -16.70, 18.38)
CIE-LCHlch(14.50, 24.84, 132.26°)
OKLaboklab(25.73% -0.0465 0.0458)
OKLCHoklch(25.73% 0.065 135.5)
XYZxyz(1.1493, 1.8177, 0.4626)
Luminance0.0182 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A06 #1C062A
analogous
#262A06 #142A06 #062A0A
triadic
#142A06 #06142A #2A0614
tetradic
#142A06 #06262A #1C062A #2A0A06
square
#142A06 #06262A #1C062A #2A0A06
split-complementary
#142A06 #0A062A #2A0626
monochromatic
#0D1B04 #0D1B04 #142A06 #2E600E #479515

Accessibility & contrast

On white

15.40
#142A06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#142A06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142A06
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A06#FFFFFF#000000##FFFFFF
##142A061.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2603
Deuteranopia (green-blind)
#292409
Tritanopia (blue-blind)
#132823
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #142a06;
/* rgb */ color: rgb(20, 42, 6);
/* oklch */ color: oklch(25.7% 0.065 135.5);
Tailwind
colors: {
  custom: {
    50: '#536349',
    500: '#142a06',
    950: '#000000',
  },
}
SCSS
$custom: #142a06;
$custom-light: #536349;
$custom-dark: #000000;
JSON
{
  "hex": "#142a06",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 6
  },
  "hsl": {
    "h": 96.667,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.25733,
    "c": 0.06528,
    "h": 135.5
  },
  "luminance": 0.01818
}

Semantic roles & 50–950 ramp

primary
#142A06
secondary
#4E216B
accent
#36F2A9
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#020501
muted
#787977

Preview Lab

Preview with #142A06

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

Preview Lab → · Contrast checker → · Palette generator →

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