#1B8015#1B8015

#1B8015 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.165 H 142.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#1B8015
RGBrgb(27, 128, 21)
HSLhsl(117, 72%, 29%)
HSVhsv(117, 84%, 50%)
CMYKcmyk(78.9%, 0%, 83.6%, 49.8%)
CIE-LABlab(46.61, -47.99, 45.55)
CIE-LCHlch(46.61, 66.17, 136.50°)
OKLaboklab(52.41% -0.1305 0.1011)
OKLCHoklch(52.41% 0.165 142.2)
XYZxyz(8.3060, 15.7245, 3.3067)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8015 #7A1580
analogous
#508015 #1B8015 #158045
triadic
#1B8015 #151B80 #80151B
tetradic
#1B8015 #155080 #7A1580 #804515
square
#1B8015 #155080 #7A1580 #804515
split-complementary
#1B8015 #451580 #801550
monochromatic
#061A04 #104B0C #1B8015 #26B51E #3CDD32

Accessibility & contrast

On white

5.07
#1B8015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#1B8015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B8015
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8015#FFFFFF#000000##FFFFFF
##1B80151.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#786C23
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1b8015;
/* rgb */ color: rgb(27, 128, 21);
/* oklch */ color: oklch(52.4% 0.165 142.2);
Tailwind
colors: {
  custom: {
    50: '#6ba65d',
    500: '#1b8015',
    950: '#000000',
  },
}
SCSS
$custom: #1b8015;
$custom-light: #6ba65d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8015",
  "rgb": {
    "r": 27,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 116.636,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52408,
    "c": 0.16513,
    "h": 142.2
  },
  "luminance": 0.15725
}

Semantic roles & 50–950 ramp

primary
#1B8015
secondary
#AE3CB5
accent
#39EFE4
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #1B8015

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

Preview Lab → · Contrast checker → · Palette generator →

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