#1B500F#1B500F

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

Color values

HEX#1B500F
RGBrgb(27, 80, 15)
HSLhsl(109, 68%, 19%)
HSVhsv(109, 81%, 31%)
CMYKcmyk(66.3%, 0%, 81.3%, 68.6%)
CIE-LABlab(29.42, -30.94, 31.12)
CIE-LCHlch(29.42, 43.88, 134.84°)
OKLaboklab(38.14% -0.0848 0.0701)
OKLCHoklch(38.14% 0.11 140.4)
XYZxyz(3.4067, 6.0045, 1.4313)
Luminance0.0600 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B500F #440F50
analogous
#3B500F #1B500F #0F5023
triadic
#1B500F #0F1B50 #500F1B
tetradic
#1B500F #0F3B50 #440F50 #50230F
square
#1B500F #0F3B50 #440F50 #50230F
split-complementary
#1B500F #230F50 #500F3B
monochromatic
#091A05 #0A1C05 #1B500F #2C8419 #3EB722

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B500F#FFFFFF#000000##FFFFFF
##1B500F1.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)
#524804
Deuteranopia (green-blind)
#4C4416
Tritanopia (blue-blind)
#134D44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b500f;
/* rgb */ color: rgb(27, 80, 15);
/* oklch */ color: oklch(38.1% 0.110 140.4);
Tailwind
colors: {
  custom: {
    50: '#5f8252',
    500: '#1b500f',
    950: '#000000',
  },
}
SCSS
$custom: #1b500f;
$custom-light: #5f8252;
$custom-dark: #000000;
JSON
{
  "hex": "#1b500f",
  "rgb": {
    "r": 27,
    "g": 80,
    "b": 15
  },
  "hsl": {
    "h": 108.923,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38137,
    "c": 0.11002,
    "h": 140.4
  },
  "luminance": 0.06005
}

Semantic roles & 50–950 ramp

primary
#1B500F
secondary
#7A318A
accent
#3DEBCB
background
#F5F8F4
surface
#EAEFE7
border
#C6CAC3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1B500F

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

Preview Lab → · Contrast checker → · Palette generator →

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