#1B7216#1B7216

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

Color values

HEX#1B7216
RGBrgb(27, 114, 22)
HSLhsl(117, 68%, 27%)
HSVhsv(117, 81%, 45%)
CMYKcmyk(76.3%, 0%, 80.7%, 55.3%)
CIE-LABlab(41.73, -43.17, 40.57)
CIE-LCHlch(41.73, 59.24, 136.78°)
OKLaboklab(48.35% -0.1174 0.0909)
OKLCHoklch(48.35% 0.149 142.3)
XYZxyz(6.6137, 12.3248, 2.7893)
Luminance0.1233 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7216 #6D1672
analogous
#497216 #1B7216 #16723F
triadic
#1B7216 #161B72 #72161B
tetradic
#1B7216 #164972 #6D1672 #723F16
square
#1B7216 #164972 #6D1672 #723F16
split-complementary
#1B7216 #3F1672 #721649
monochromatic
#061A05 #0F3F0C #1B7216 #27A520 #35D62C

Accessibility & contrast

On white

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

On black

3.47
#1B7216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1B7216#FFFFFF#000000##FFFFFF
##1B72161.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b7216;
/* rgb */ color: rgb(27, 114, 22);
/* oklch */ color: oklch(48.4% 0.149 142.3);
Tailwind
colors: {
  custom: {
    50: '#679b5b',
    500: '#1b7216',
    950: '#000000',
  },
}
SCSS
$custom: #1b7216;
$custom-light: #679b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7216",
  "rgb": {
    "r": 27,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 116.739,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48351,
    "c": 0.14851,
    "h": 142.3
  },
  "luminance": 0.12326
}

Semantic roles & 50–950 ramp

primary
#1B7216
secondary
#A23CA8
accent
#3DEBE1
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1B7216

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

Preview Lab → · Contrast checker → · Palette generator →

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