#142F0F#142F0F

#142F0F is a dark, moderate green. Relative luminance 0.022; OKLCH L 27.5% C 0.064 H 140.6°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#142F0F
RGBrgb(20, 47, 15)
HSLhsl(111, 52%, 12%)
HSVhsv(111, 68%, 18%)
CMYKcmyk(57.4%, 0%, 68.1%, 81.6%)
CIE-LABlab(16.58, -18.14, 17.06)
CIE-LCHlch(16.58, 24.90, 136.75°)
OKLaboklab(27.48% -0.0496 0.0407)
OKLCHoklch(27.48% 0.064 140.6)
XYZxyz(1.3912, 2.2161, 0.8063)
Luminance0.0222 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F0F #2A0F2F
analogous
#242F0F #142F0F #0F2F1A
triadic
#142F0F #0F142F #2F0F14
tetradic
#142F0F #0F242F #2A0F2F #2F1A0F
square
#142F0F #0F242F #2A0F2F #2F1A0F
split-complementary
#142F0F #1A0F2F #2F0F24
monochromatic
#0A1707 #0A1707 #142F0F #285D1E #3B8C2D

Accessibility & contrast

On white

14.55
#142F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142F0F
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F0F#FFFFFF#000000##FFFFFF
##142F0F1.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A0C
Deuteranopia (green-blind)
#2D2811
Tritanopia (blue-blind)
#112D28
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #142f0f;
/* rgb */ color: rgb(20, 47, 15);
/* oklch */ color: oklch(27.5% 0.064 140.6);
Tailwind
colors: {
  custom: {
    50: '#54684e',
    500: '#142f0f',
    950: '#000000',
  },
}
SCSS
$custom: #142f0f;
$custom-light: #54684e;
$custom-dark: #000000;
JSON
{
  "hex": "#142f0f",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 15
  },
  "hsl": {
    "h": 110.625,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.27476,
    "c": 0.0642,
    "h": 140.6
  },
  "luminance": 0.02216
}

Semantic roles & 50–950 ramp

primary
#142F0F
secondary
#603169
accent
#4DDBC5
background
#F4F6F4
surface
#E8EBE7
border
#C4C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #142F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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