#142C07#142C07

#142C07 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.4% C 0.067 H 136.5°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#142C07
RGBrgb(20, 44, 7)
HSLhsl(99, 73%, 10%)
HSVhsv(99, 84%, 17%)
CMYKcmyk(54.5%, 0%, 84.1%, 82.7%)
CIE-LABlab(15.30, -17.62, 19.01)
CIE-LCHlch(15.30, 25.92, 132.83°)
OKLaboklab(26.4% -0.0489 0.0464)
OKLCHoklch(26.4% 0.067 136.5)
XYZxyz(1.2275, 1.9654, 0.5156)
Luminance0.0197 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C07 #1F072C
analogous
#262C07 #142C07 #072C0D
triadic
#142C07 #07142C #2C0714
tetradic
#142C07 #07262C #1F072C #2C0D07
square
#142C07 #07262C #1F072C #2C0D07
split-complementary
#142C07 #0D072C #2C0726
monochromatic
#0C1A04 #0C1A04 #142C07 #2C610F #449618

Accessibility & contrast

On white

15.08
#142C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142C07
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C07#FFFFFF#000000##FFFFFF
##142C071.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2803
Deuteranopia (green-blind)
#2B260A
Tritanopia (blue-blind)
#132A25
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #142c07;
/* rgb */ color: rgb(20, 44, 7);
/* oklch */ color: oklch(26.4% 0.067 136.5);
Tailwind
colors: {
  custom: {
    50: '#54654a',
    500: '#142c07',
    950: '#000000',
  },
}
SCSS
$custom: #142c07;
$custom-light: #54654a;
$custom-dark: #000000;
JSON
{
  "hex": "#142c07",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 7
  },
  "hsl": {
    "h": 98.919,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.26396,
    "c": 0.06742,
    "h": 136.5
  },
  "luminance": 0.01965
}

Semantic roles & 50–950 ramp

primary
#142C07
secondary
#52236C
accent
#39EFAF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #142C07

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

Preview Lab → · Contrast checker → · Palette generator →

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