#142F0B#142F0B

#142F0B is a dark, moderate green. Relative luminance 0.022; OKLCH L 27.4% C 0.068 H 138.8°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#142F0B
RGBrgb(20, 47, 11)
HSLhsl(105, 62%, 11%)
HSVhsv(105, 77%, 18%)
CMYKcmyk(57.4%, 0%, 76.6%, 81.6%)
CIE-LABlab(16.53, -18.68, 18.91)
CIE-LCHlch(16.53, 26.58, 134.64°)
OKLaboklab(27.42% -0.0514 0.0451)
OKLCHoklch(27.42% 0.068 138.8)
XYZxyz(1.3654, 2.2058, 0.6704)
Luminance0.0221 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F0B #260B2F
analogous
#262F0B #142F0B #0B2F14
triadic
#142F0B #0B142F #2F0B14
tetradic
#142F0B #0B262F #260B2F #2F140B
square
#142F0B #0B262F #260B2F #2F140B
split-complementary
#142F0B #140B2F #2F0B26
monochromatic
#0B1906 #0B1906 #142F0B #296117 #3E9222

Accessibility & contrast

On white

14.57
#142F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#142F0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142F0B
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F0B#FFFFFF#000000##FFFFFF
##142F0B1.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A07
Deuteranopia (green-blind)
#2D280E
Tritanopia (blue-blind)
#122D27
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #142f0b;
/* rgb */ color: rgb(20, 47, 11);
/* oklch */ color: oklch(27.4% 0.068 138.8);
Tailwind
colors: {
  custom: {
    50: '#54684c',
    500: '#142f0b',
    950: '#000000',
  },
}
SCSS
$custom: #142f0b;
$custom-light: #54684c;
$custom-dark: #000000;
JSON
{
  "hex": "#142f0b",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 11
  },
  "hsl": {
    "h": 105,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.27418,
    "c": 0.06835,
    "h": 138.8
  },
  "luminance": 0.02206
}

Semantic roles & 50–950 ramp

primary
#142F0B
secondary
#5B2A6B
accent
#43E5BD
background
#F5F6F4
surface
#E8EBE7
border
#C4C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #142F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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