#1B5010#1B5010

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

Color values

HEX#1B5010
RGBrgb(27, 80, 16)
HSLhsl(110, 67%, 19%)
HSVhsv(110, 80%, 31%)
CMYKcmyk(66.3%, 0%, 80%, 68.6%)
CIE-LABlab(29.43, -30.85, 30.71)
CIE-LCHlch(29.43, 43.53, 135.13°)
OKLaboklab(38.15% -0.0845 0.0694)
OKLCHoklch(38.15% 0.109 140.6)
XYZxyz(3.4140, 6.0074, 1.4697)
Luminance0.0601 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5010 #451050
analogous
#3B5010 #1B5010 #105025
triadic
#1B5010 #101B50 #50101B
tetradic
#1B5010 #103B50 #451050 #502510
square
#1B5010 #103B50 #451050 #502510
split-complementary
#1B5010 #251050 #50103B
monochromatic
#091A05 #0A1D06 #1B5010 #2C831A #3DB624

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B5010#FFFFFF#000000##FFFFFF
##1B50101.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)
#524805
Deuteranopia (green-blind)
#4C4417
Tritanopia (blue-blind)
#134D44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b5010;
/* rgb */ color: rgb(27, 80, 16);
/* oklch */ color: oklch(38.1% 0.109 140.6);
Tailwind
colors: {
  custom: {
    50: '#5f8253',
    500: '#1b5010',
    950: '#000000',
  },
}
SCSS
$custom: #1b5010;
$custom-light: #5f8253;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5010",
  "rgb": {
    "r": 27,
    "g": 80,
    "b": 16
  },
  "hsl": {
    "h": 109.688,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38145,
    "c": 0.10934,
    "h": 140.6
  },
  "luminance": 0.06008
}

Semantic roles & 50–950 ramp

primary
#1B5010
secondary
#7B328A
accent
#3EEACC
background
#F5F8F4
surface
#EAEFE7
border
#C6CAC3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1B5010

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

Preview Lab → · Contrast checker → · Palette generator →

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