#1B420E#1B420E

#1B420E is a dark, moderate green. Relative luminance 0.042; OKLCH L 33.8% C 0.091 H 139.0°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#1B420E
RGBrgb(27, 66, 14)
HSLhsl(105, 65%, 16%)
HSVhsv(105, 79%, 26%)
CMYKcmyk(59.1%, 0%, 78.8%, 74.1%)
CIE-LABlab(24.20, -24.97, 26.23)
CIE-LCHlch(24.20, 36.22, 133.60°)
OKLaboklab(33.82% -0.0687 0.0597)
OKLCHoklch(33.82% 0.091 139)
XYZxyz(2.4794, 4.1610, 1.0879)
Luminance0.0416 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B420E #350E42
analogous
#35420E #1B420E #0E421B
triadic
#1B420E #0E1B42 #420E1B
tetradic
#1B420E #0E3542 #350E42 #421B0E
square
#1B420E #0E3542 #350E42 #421B0E
split-complementary
#1B420E #1B0E42 #420E35
monochromatic
#0A1905 #0A1905 #1B420E #307419 #44A723

Accessibility & contrast

On white

11.46
#1B420E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1B420E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B420E
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B420E#FFFFFF#000000##FFFFFF
##1B420E1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C06
Deuteranopia (green-blind)
#3F3813
Tritanopia (blue-blind)
#174038
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1b420e;
/* rgb */ color: rgb(27, 66, 14);
/* oklch */ color: oklch(33.8% 0.091 139.0);
Tailwind
colors: {
  custom: {
    50: '#5c7750',
    500: '#1b420e',
    950: '#000000',
  },
}
SCSS
$custom: #1b420e;
$custom-light: #5c7750;
$custom-dark: #000000;
JSON
{
  "hex": "#1b420e",
  "rgb": {
    "r": 27,
    "g": 66,
    "b": 14
  },
  "hsl": {
    "h": 105,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.33821,
    "c": 0.09107,
    "h": 139
  },
  "luminance": 0.04161
}

Semantic roles & 50–950 ramp

primary
#1B420E
secondary
#692F7D
accent
#40E8BE
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #1B420E

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

Preview Lab → · Contrast checker → · Palette generator →

#1B420E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva