#142E01#142E01

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

Color values

HEX#142E01
RGBrgb(20, 46, 1)
HSLhsl(95, 96%, 9%)
HSVhsv(95, 98%, 18%)
CMYKcmyk(56.5%, 0%, 97.8%, 82%)
CIE-LABlab(16.03, -19.38, 22.37)
CIE-LCHlch(16.03, 29.59, 130.90°)
OKLaboklab(26.97% -0.0544 0.0545)
OKLCHoklch(26.97% 0.077 134.9)
XYZxyz(1.2709, 2.1048, 0.3680)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142E01 #1B012E
analogous
#2B2E01 #142E01 #012E05
triadic
#142E01 #01142E #2E0114
tetradic
#142E01 #012B2E #1B012E #2E0501
square
#142E01 #012B2E #1B012E #2E0501
split-complementary
#142E01 #05012E #2E012B
monochromatic
#0D1E01 #0D1E01 #142E01 #2E6A02 #48A604

Accessibility & contrast

On white

14.78
#142E01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142E01
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142E01#FFFFFF#000000##FFFFFF
##142E011.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #142e01;
/* rgb */ color: rgb(20, 46, 1);
/* oklch */ color: oklch(27.0% 0.077 134.9);
Tailwind
colors: {
  custom: {
    50: '#546747',
    500: '#142e01',
    950: '#000000',
  },
}
SCSS
$custom: #142e01;
$custom-light: #546747;
$custom-dark: #000000;
JSON
{
  "hex": "#142e01",
  "rgb": {
    "r": 20,
    "g": 46,
    "b": 1
  },
  "hsl": {
    "h": 94.667,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.26969,
    "c": 0.07704,
    "h": 134.9
  },
  "luminance": 0.02105
}

Semantic roles & 50–950 ramp

primary
#142E01
secondary
#4D1774
accent
#29FFA5
background
#F5F6F4
surface
#E8EBE6
border
#C4C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #142E01

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

Preview Lab → · Contrast checker → · Palette generator →

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