#1B5014#1B5014

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

Color values

HEX#1B5014
RGBrgb(27, 80, 20)
HSLhsl(113, 60%, 20%)
HSVhsv(113, 75%, 31%)
CMYKcmyk(66.3%, 0%, 75%, 68.6%)
CIE-LABlab(29.46, -30.47, 28.97)
CIE-LCHlch(29.46, 42.04, 136.44°)
OKLaboklab(38.18% -0.0832 0.0664)
OKLCHoklch(38.18% 0.106 141.4)
XYZxyz(3.4467, 6.0205, 1.6421)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5014 #491450
analogous
#395014 #1B5014 #14502B
triadic
#1B5014 #141B50 #50141B
tetradic
#1B5014 #143950 #491450 #502B14
square
#1B5014 #143950 #491450 #502B14
split-complementary
#1B5014 #2B1450 #501439
monochromatic
#081806 #0A1F08 #1B5014 #2C8120 #3CB22C

Accessibility & contrast

On white

9.53
#1B5014 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B5014
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5014#FFFFFF#000000##FFFFFF
##1B50141.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b5014;
/* rgb */ color: rgb(27, 80, 20);
/* oklch */ color: oklch(38.2% 0.106 141.4);
Tailwind
colors: {
  custom: {
    50: '#5f8255',
    500: '#1b5014',
    950: '#000000',
  },
}
SCSS
$custom: #1b5014;
$custom-light: #5f8255;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5014",
  "rgb": {
    "r": 27,
    "g": 80,
    "b": 20
  },
  "hsl": {
    "h": 113,
    "s": 60,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38183,
    "c": 0.10642,
    "h": 141.4
  },
  "luminance": 0.06021
}

Semantic roles & 50–950 ramp

primary
#1B5014
secondary
#7F3888
accent
#45E3D1
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050A03
muted
#797C78

Preview Lab

Preview with #1B5014

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

Preview Lab → · Contrast checker → · Palette generator →

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