#142E04#142E04

#142E04 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.0% C 0.074 H 136.0°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#142E04
RGBrgb(20, 46, 4)
HSLhsl(97, 84%, 10%)
HSVhsv(97, 91%, 18%)
CMYKcmyk(56.5%, 0%, 91.3%, 82%)
CIE-LABlab(16.06, -19.01, 21.19)
CIE-LCHlch(16.06, 28.47, 131.89°)
OKLaboklab(27.01% -0.053 0.0513)
OKLCHoklch(27.01% 0.074 136)
XYZxyz(1.2874, 2.1114, 0.4545)
Luminance0.0211 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142E04 #1E042E
analogous
#292E04 #142E04 #042E09
triadic
#142E04 #04142E #2E0414
tetradic
#142E04 #04292E #1E042E #2E0904
square
#142E04 #04292E #1E042E #2E0904
split-complementary
#142E04 #09042E #2E0429
monochromatic
#0C1C02 #0C1C02 #142E04 #2C6609 #459F0E

Accessibility & contrast

On white

14.77
#142E04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#142E04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142E04
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142E04#FFFFFF#000000##FFFFFF
##142E041.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#2D2707
Tritanopia (blue-blind)
#132C26
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #142e04;
/* rgb */ color: rgb(20, 46, 4);
/* oklch */ color: oklch(27.0% 0.074 136.0);
Tailwind
colors: {
  custom: {
    50: '#546749',
    500: '#142e04',
    950: '#000000',
  },
}
SCSS
$custom: #142e04;
$custom-light: #546749;
$custom-dark: #000000;
JSON
{
  "hex": "#142e04",
  "rgb": {
    "r": 20,
    "g": 46,
    "b": 4
  },
  "hsl": {
    "h": 97.143,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27007,
    "c": 0.07373,
    "h": 136
  },
  "luminance": 0.02111
}

Semantic roles & 50–950 ramp

primary
#142E04
secondary
#511D71
accent
#2EFAAC
background
#F5F6F4
surface
#E8EBE6
border
#C4C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #142E04

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

Preview Lab → · Contrast checker → · Palette generator →

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