#1B5210#1B5210

#1B5210 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.8% C 0.112 H 140.7°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#1B5210
RGBrgb(27, 82, 16)
HSLhsl(110, 67%, 19%)
HSVhsv(110, 80%, 32%)
CMYKcmyk(67.1%, 0%, 80.5%, 67.8%)
CIE-LABlab(30.17, -31.67, 31.45)
CIE-LCHlch(30.17, 44.63, 135.20°)
OKLaboklab(38.76% -0.0867 0.071)
OKLCHoklch(38.76% 0.112 140.7)
XYZxyz(3.5626, 6.3047, 1.5193)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5210 #471052
analogous
#3C5210 #1B5210 #105226
triadic
#1B5210 #101B52 #52101B
tetradic
#1B5210 #103C52 #471052 #522610
square
#1B5210 #103C52 #471052 #522610
split-complementary
#1B5210 #261052 #52103C
monochromatic
#081A05 #0A1F06 #1B5210 #2C851A #3DB824

Accessibility & contrast

On white

9.29
#1B5210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1B5210 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5210
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5210#FFFFFF#000000##FFFFFF
##1B52101.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A04
Deuteranopia (green-blind)
#4E4517
Tritanopia (blue-blind)
#134F45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b5210;
/* rgb */ color: rgb(27, 82, 16);
/* oklch */ color: oklch(38.8% 0.112 140.7);
Tailwind
colors: {
  custom: {
    50: '#608353',
    500: '#1b5210',
    950: '#000000',
  },
}
SCSS
$custom: #1b5210;
$custom-light: #608353;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5210",
  "rgb": {
    "r": 27,
    "g": 82,
    "b": 16
  },
  "hsl": {
    "h": 110,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38755,
    "c": 0.11204,
    "h": 140.7
  },
  "luminance": 0.06305
}

Semantic roles & 50–950 ramp

primary
#1B5210
secondary
#7D328C
accent
#3EEACD
background
#F5F8F4
surface
#EAEFE7
border
#C6CAC3
text
#050B03
muted
#797C78

Preview Lab

Preview with #1B5210

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

Preview Lab → · Contrast checker → · Palette generator →

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