#1B7015#1B7015

#1B7015 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.8% C 0.147 H 142.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#1B7015
RGBrgb(27, 112, 21)
HSLhsl(116, 68%, 26%)
HSVhsv(116, 81%, 44%)
CMYKcmyk(75.9%, 0%, 81.2%, 56.1%)
CIE-LABlab(41.02, -42.55, 40.23)
CIE-LCHlch(41.02, 58.56, 136.60°)
OKLaboklab(47.76% -0.1158 0.09)
OKLCHoklch(47.76% 0.147 142.1)
XYZxyz(6.3811, 11.8748, 2.6651)
Luminance0.1187 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7015 #6A1570
analogous
#487015 #1B7015 #15703C
triadic
#1B7015 #151B70 #70151B
tetradic
#1B7015 #154870 #6A1570 #703C15
square
#1B7015 #154870 #6A1570 #703C15
split-complementary
#1B7015 #3C1570 #701548
monochromatic
#061A05 #0F3C0B #1B7015 #27A41F #34D729

Accessibility & contrast

On white

6.22
#1B7015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#1B7015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7015
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7015#FFFFFF#000000##FFFFFF
##1B70151.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#695E20
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1b7015;
/* rgb */ color: rgb(27, 112, 21);
/* oklch */ color: oklch(47.8% 0.147 142.1);
Tailwind
colors: {
  custom: {
    50: '#679a5a',
    500: '#1b7015',
    950: '#000000',
  },
}
SCSS
$custom: #1b7015;
$custom-light: #679a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7015",
  "rgb": {
    "r": 27,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 116.044,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47758,
    "c": 0.14669,
    "h": 142.1
  },
  "luminance": 0.11875
}

Semantic roles & 50–950 ramp

primary
#1B7015
secondary
#9F3BA6
accent
#3DEBE0
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1B7015

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

Preview Lab → · Contrast checker → · Palette generator →

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