#142C02#142C02

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

Color values

HEX#142C02
RGBrgb(20, 44, 2)
HSLhsl(94, 91%, 9%)
HSVhsv(94, 95%, 17%)
CMYKcmyk(54.5%, 0%, 95.5%, 82.7%)
CIE-LABlab(15.25, -18.25, 20.97)
CIE-LCHlch(15.25, 27.80, 131.03°)
OKLaboklab(26.33% -0.0513 0.052)
OKLCHoklch(26.33% 0.073 134.6)
XYZxyz(1.2001, 1.9544, 0.3714)
Luminance0.0195 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C02 #1A022C
analogous
#292C02 #142C02 #022C05
triadic
#142C02 #02142C #2C0214
tetradic
#142C02 #02292C #1A022C #2C0502
square
#142C02 #02292C #1A022C #2C0502
split-complementary
#142C02 #05022C #2C0229
monochromatic
#0D1D01 #0D1D01 #142C02 #2F6705 #49A107

Accessibility & contrast

On white

15.10
#142C02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142C02
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C02#FFFFFF#000000##FFFFFF
##142C021.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #142c02;
/* rgb */ color: rgb(20, 44, 2);
/* oklch */ color: oklch(26.3% 0.073 134.6);
Tailwind
colors: {
  custom: {
    50: '#546547',
    500: '#142c02',
    950: '#000000',
  },
}
SCSS
$custom: #142c02;
$custom-light: #546547;
$custom-dark: #000000;
JSON
{
  "hex": "#142c02",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 2
  },
  "hsl": {
    "h": 94.286,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.2633,
    "c": 0.07299,
    "h": 134.6
  },
  "luminance": 0.01954
}

Semantic roles & 50–950 ramp

primary
#142C02
secondary
#4B1971
accent
#29FFA3
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#030500
muted
#787A77

Preview Lab

Preview with #142C02

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

Preview Lab → · Contrast checker → · Palette generator →

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