#1B510E#1B510E

#1B510E is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.4% C 0.112 H 140.3°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#1B510E
RGBrgb(27, 81, 14)
HSLhsl(108, 71%, 19%)
HSVhsv(108, 83%, 32%)
CMYKcmyk(66.7%, 0%, 82.7%, 68.2%)
CIE-LABlab(29.79, -31.43, 31.87)
CIE-LCHlch(29.79, 44.76, 134.60°)
OKLaboklab(38.43% -0.0862 0.0715)
OKLCHoklch(38.43% 0.112 140.3)
XYZxyz(3.4735, 6.1493, 1.4193)
Luminance0.0615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B510E #440E51
analogous
#3C510E #1B510E #0E5122
triadic
#1B510E #0E1B51 #510E1B
tetradic
#1B510E #0E3C51 #440E51 #51220E
square
#1B510E #0E3C51 #440E51 #51220E
split-complementary
#1B510E #220E51 #510E3C
monochromatic
#091A05 #0A1D05 #1B510E #2C8517 #3EB920

Accessibility & contrast

On white

9.42
#1B510E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#1B510E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B510E
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B510E#FFFFFF#000000##FFFFFF
##1B510E1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534902
Deuteranopia (green-blind)
#4D4415
Tritanopia (blue-blind)
#134E44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b510e;
/* rgb */ color: rgb(27, 81, 14);
/* oklch */ color: oklch(38.4% 0.112 140.3);
Tailwind
colors: {
  custom: {
    50: '#608252',
    500: '#1b510e',
    950: '#000000',
  },
}
SCSS
$custom: #1b510e;
$custom-light: #608252;
$custom-dark: #000000;
JSON
{
  "hex": "#1b510e",
  "rgb": {
    "r": 27,
    "g": 81,
    "b": 14
  },
  "hsl": {
    "h": 108.358,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38434,
    "c": 0.11198,
    "h": 140.3
  },
  "luminance": 0.0615
}

Semantic roles & 50–950 ramp

primary
#1B510E
secondary
#7A2F8C
accent
#3AEDCB
background
#F5F8F4
surface
#EAEFE7
border
#C6CAC3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1B510E

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

Preview Lab → · Contrast checker → · Palette generator →

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