#142102#142102

#142102 is a very dark, muted yellow-green. Relative luminance 0.012; OKLCH L 22.7% C 0.056 H 128.8°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#142102
RGBrgb(20, 33, 2)
HSLhsl(85, 89%, 7%)
HSVhsv(85, 94%, 13%)
CMYKcmyk(39.4%, 0%, 93.9%, 87.1%)
CIE-LABlab(10.86, -12.24, 15.10)
CIE-LCHlch(10.86, 19.44, 129.03°)
OKLaboklab(22.74% -0.0351 0.0436)
OKLCHoklch(22.74% 0.056 128.8)
XYZxyz(0.8433, 1.2408, 0.2525)
Luminance0.0124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142102 #0F0221
analogous
#211F02 #142102 #052102
triadic
#142102 #021421 #210214
tetradic
#142102 #02211F #0F0221 #210205
square
#142102 #02211F #0F0221 #210205
split-complementary
#142102 #020521 #1F0221
monochromatic
#111D02 #111D02 #142102 #375B05 #5A9409

Accessibility & contrast

On white

16.82
#142102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#142102 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142102
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142102#FFFFFF#000000##FFFFFF
##1421021.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231E00
Deuteranopia (green-blind)
#211D04
Tritanopia (blue-blind)
#151F1B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #142102;
/* rgb */ color: rgb(20, 33, 2);
/* oklch */ color: oklch(22.7% 0.056 128.8);
Tailwind
colors: {
  custom: {
    50: '#515c47',
    500: '#142102',
    950: '#000000',
  },
}
SCSS
$custom: #142102;
$custom-light: #515c47;
$custom-dark: #000000;
JSON
{
  "hex": "#142102",
  "rgb": {
    "r": 20,
    "g": 33,
    "b": 2
  },
  "hsl": {
    "h": 85.161,
    "s": 88.571,
    "l": 6.863
  },
  "oklch": {
    "l": 0.22738,
    "c": 0.05601,
    "h": 128.8
  },
  "luminance": 0.01241
}

Semantic roles & 50–950 ramp

primary
#142102
secondary
#391867
accent
#29FF83
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020400
muted
#787977

Preview Lab

Preview with #142102

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

Preview Lab → · Contrast checker → · Palette generator →

#142102 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva