#1B7215#1B7215

#1B7215 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.3% C 0.149 H 142.2°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#1B7215
RGBrgb(27, 114, 21)
HSLhsl(116, 69%, 26%)
HSVhsv(116, 82%, 45%)
CMYKcmyk(76.3%, 0%, 81.6%, 55.3%)
CIE-LABlab(41.72, -43.24, 40.92)
CIE-LCHlch(41.72, 59.53, 136.58°)
OKLaboklab(48.34% -0.1177 0.0915)
OKLCHoklch(48.34% 0.149 142.2)
XYZxyz(6.6043, 12.3210, 2.7395)
Luminance0.1232 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7215 #6C1572
analogous
#4A7215 #1B7215 #15723E
triadic
#1B7215 #151B72 #72151B
tetradic
#1B7215 #154A72 #6C1572 #723E15
square
#1B7215 #154A72 #6C1572 #723E15
split-complementary
#1B7215 #3E1572 #72154A
monochromatic
#061A05 #0F3E0B #1B7215 #27A61F #35D82A

Accessibility & contrast

On white

6.06
#1B7215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#1B7215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7215
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7215#FFFFFF#000000##FFFFFF
##1B72151.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#6B6020
Tritanopia (blue-blind)
#006E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1b7215;
/* rgb */ color: rgb(27, 114, 21);
/* oklch */ color: oklch(48.3% 0.149 142.2);
Tailwind
colors: {
  custom: {
    50: '#679b5b',
    500: '#1b7215',
    950: '#000000',
  },
}
SCSS
$custom: #1b7215;
$custom-light: #679b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7215",
  "rgb": {
    "r": 27,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 116.129,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48344,
    "c": 0.14906,
    "h": 142.2
  },
  "luminance": 0.12322
}

Semantic roles & 50–950 ramp

primary
#1B7215
secondary
#A13BA8
accent
#3CECE0
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1B7215

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

Preview Lab → · Contrast checker → · Palette generator →

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