#1B500E#1B500E

#1B500E is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.1% C 0.111 H 140.2°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#1B500E
RGBrgb(27, 80, 14)
HSLhsl(108, 70%, 18%)
HSVhsv(108, 83%, 31%)
CMYKcmyk(66.3%, 0%, 82.5%, 68.6%)
CIE-LABlab(29.42, -31.02, 31.51)
CIE-LCHlch(29.42, 44.22, 134.55°)
OKLaboklab(38.13% -0.0851 0.0708)
OKLCHoklch(38.13% 0.111 140.2)
XYZxyz(3.3998, 6.0017, 1.3947)
Luminance0.0600 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B500E #430E50
analogous
#3C500E #1B500E #0E5022
triadic
#1B500E #0E1B50 #500E1B
tetradic
#1B500E #0E3C50 #430E50 #50220E
square
#1B500E #0E3C50 #430E50 #50220E
split-complementary
#1B500E #220E50 #500E3C
monochromatic
#091A05 #091C05 #1B500E #2D8417 #3EB820

Accessibility & contrast

On white

9.54
#1B500E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#1B500E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B500E
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B500E#FFFFFF#000000##FFFFFF
##1B500E1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524802
Deuteranopia (green-blind)
#4C4415
Tritanopia (blue-blind)
#144D43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b500e;
/* rgb */ color: rgb(27, 80, 14);
/* oklch */ color: oklch(38.1% 0.111 140.2);
Tailwind
colors: {
  custom: {
    50: '#5f8252',
    500: '#1b500e',
    950: '#000000',
  },
}
SCSS
$custom: #1b500e;
$custom-light: #5f8252;
$custom-dark: #000000;
JSON
{
  "hex": "#1b500e",
  "rgb": {
    "r": 27,
    "g": 80,
    "b": 14
  },
  "hsl": {
    "h": 108.182,
    "s": 70.213,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38129,
    "c": 0.11065,
    "h": 140.2
  },
  "luminance": 0.06002
}

Semantic roles & 50–950 ramp

primary
#1B500E
secondary
#792F8B
accent
#3BEDCA
background
#F5F8F4
surface
#EAEFE7
border
#C6CAC3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1B500E

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

Preview Lab → · Contrast checker → · Palette generator →

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