#1B5F15#1B5F15

#1B5F15 is a dark, vivid green. Relative luminance 0.085; OKLCH L 42.7% C 0.126 H 142.0°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#1B5F15
RGBrgb(27, 95, 21)
HSLhsl(115, 64%, 23%)
HSVhsv(115, 78%, 37%)
CMYKcmyk(71.6%, 0%, 77.9%, 62.7%)
CIE-LABlab(34.95, -36.34, 34.22)
CIE-LCHlch(34.95, 49.92, 136.72°)
OKLaboklab(42.72% -0.099 0.0775)
OKLCHoklch(42.72% 0.126 142)
XYZxyz(4.6793, 8.4711, 2.0978)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5F15 #59155F
analogous
#405F15 #1B5F15 #155F34
triadic
#1B5F15 #151B5F #5F151B
tetradic
#1B5F15 #15405F #59155F #5F3415
square
#1B5F15 #15405F #59155F #5F3415
split-complementary
#1B5F15 #34155F #5F1540
monochromatic
#071906 #0D2D0A #1B5F15 #299120 #37C32B

Accessibility & contrast

On white

7.79
#1B5F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#1B5F15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5F15
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5F15#FFFFFF#000000##FFFFFF
##1B5F151.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615608
Deuteranopia (green-blind)
#59501D
Tritanopia (blue-blind)
#0C5C51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1b5f15;
/* rgb */ color: rgb(27, 95, 21);
/* oklch */ color: oklch(42.7% 0.126 142.0);
Tailwind
colors: {
  custom: {
    50: '#638d58',
    500: '#1b5f15',
    950: '#000000',
  },
}
SCSS
$custom: #1b5f15;
$custom-light: #638d58;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5f15",
  "rgb": {
    "r": 27,
    "g": 95,
    "b": 21
  },
  "hsl": {
    "h": 115.135,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42721,
    "c": 0.12574,
    "h": 142
  },
  "luminance": 0.08472
}

Semantic roles & 50–950 ramp

primary
#1B5F15
secondary
#8F3A96
accent
#41E7D9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #1B5F15

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

Preview Lab → · Contrast checker → · Palette generator →

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