#1B5015#1B5015

#1B5015 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.2% C 0.106 H 141.7°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#1B5015
RGBrgb(27, 80, 21)
HSLhsl(114, 58%, 20%)
HSVhsv(114, 74%, 31%)
CMYKcmyk(66.3%, 0%, 73.7%, 68.6%)
CIE-LABlab(29.47, -30.36, 28.51)
CIE-LCHlch(29.47, 41.65, 136.80°)
OKLaboklab(38.19% -0.0828 0.0655)
OKLCHoklch(38.19% 0.106 141.7)
XYZxyz(3.4558, 6.0242, 1.6900)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5015 #4A1550
analogous
#395015 #1B5015 #15502C
triadic
#1B5015 #151B50 #50151B
tetradic
#1B5015 #153950 #4A1550 #502C15
square
#1B5015 #153950 #4A1550 #502C15
split-complementary
#1B5015 #2C1550 #501539
monochromatic
#081806 #0B2008 #1B5015 #2B8022 #3CB12E

Accessibility & contrast

On white

9.52
#1B5015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B5015
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5015#FFFFFF#000000##FFFFFF
##1B50151.009.522.209.52
#FFFFFF9.521.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480D
Deuteranopia (green-blind)
#4C441A
Tritanopia (blue-blind)
#124D44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b5015;
/* rgb */ color: rgb(27, 80, 21);
/* oklch */ color: oklch(38.2% 0.106 141.7);
Tailwind
colors: {
  custom: {
    50: '#5f8256',
    500: '#1b5015',
    950: '#000000',
  },
}
SCSS
$custom: #1b5015;
$custom-light: #5f8256;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5015",
  "rgb": {
    "r": 27,
    "g": 80,
    "b": 21
  },
  "hsl": {
    "h": 113.898,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38193,
    "c": 0.10563,
    "h": 141.7
  },
  "luminance": 0.06024
}

Semantic roles & 50–950 ramp

primary
#1B5015
secondary
#803988
accent
#46E2D2
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050A03
muted
#797C78

Preview Lab

Preview with #1B5015

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

Preview Lab → · Contrast checker → · Palette generator →

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