#142104#142104

#142104 is a very dark, muted yellow-green. Relative luminance 0.012; OKLCH L 22.8% C 0.053 H 129.8°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#142104
RGBrgb(20, 33, 4)
HSLhsl(87, 78%, 7%)
HSVhsv(87, 88%, 13%)
CMYKcmyk(39.4%, 0%, 87.9%, 87.1%)
CIE-LABlab(10.89, -11.93, 14.33)
CIE-LCHlch(10.89, 18.65, 129.78°)
OKLaboklab(22.77% -0.0339 0.0406)
OKLCHoklch(22.77% 0.053 129.8)
XYZxyz(0.8543, 1.2452, 0.3102)
Luminance0.0124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142104 #110421
analogous
#212004 #142104 #052104
triadic
#142104 #041421 #210414
tetradic
#142104 #042120 #110421 #210405
square
#142104 #042120 #110421 #210405
split-complementary
#142104 #040521 #200421
monochromatic
#111B03 #111B03 #142104 #35580B #568E11

Accessibility & contrast

On white

16.81
#142104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142104
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142104#FFFFFF#000000##FFFFFF
##1421041.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #142104;
/* rgb */ color: rgb(20, 33, 4);
/* oklch */ color: oklch(22.8% 0.053 129.8);
Tailwind
colors: {
  custom: {
    50: '#515c48',
    500: '#142104',
    950: '#000000',
  },
}
SCSS
$custom: #142104;
$custom-light: #515c48;
$custom-dark: #000000;
JSON
{
  "hex": "#142104",
  "rgb": {
    "r": 20,
    "g": 33,
    "b": 4
  },
  "hsl": {
    "h": 86.897,
    "s": 78.378,
    "l": 7.255
  },
  "oklch": {
    "l": 0.22774,
    "c": 0.0529,
    "h": 129.8
  },
  "luminance": 0.01245
}

Semantic roles & 50–950 ramp

primary
#142104
secondary
#3D1D64
accent
#33F58A
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020400
muted
#787977

Preview Lab

Preview with #142104

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

Preview Lab → · Contrast checker → · Palette generator →

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