#1B7213#1B7213

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

Color values

HEX#1B7213
RGBrgb(27, 114, 19)
HSLhsl(115, 71%, 26%)
HSVhsv(115, 83%, 45%)
CMYKcmyk(76.3%, 0%, 83.3%, 55.3%)
CIE-LABlab(41.71, -43.38, 41.57)
CIE-LCHlch(41.71, 60.08, 136.22°)
OKLaboklab(48.33% -0.1182 0.0925)
OKLCHoklch(48.33% 0.15 141.9)
XYZxyz(6.5865, 12.3139, 2.6457)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7213 #6A1372
analogous
#4A7213 #1B7213 #13723A
triadic
#1B7213 #131B72 #72131B
tetradic
#1B7213 #134A72 #6A1372 #723A13
square
#1B7213 #134A72 #6A1372 #723A13
split-complementary
#1B7213 #3A1372 #72134A
monochromatic
#061A04 #0F3E0A #1B7213 #27A61C #34DB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B7213#FFFFFF#000000##FFFFFF
##1B72131.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)
#756600
Deuteranopia (green-blind)
#6B601F
Tritanopia (blue-blind)
#006E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1b7213;
/* rgb */ color: rgb(27, 114, 19);
/* oklch */ color: oklch(48.3% 0.150 141.9);
Tailwind
colors: {
  custom: {
    50: '#679b5a',
    500: '#1b7213',
    950: '#000000',
  },
}
SCSS
$custom: #1b7213;
$custom-light: #679b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7213",
  "rgb": {
    "r": 27,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 114.947,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48332,
    "c": 0.15008,
    "h": 141.9
  },
  "luminance": 0.12315
}

Semantic roles & 50–950 ramp

primary
#1B7213
secondary
#9F38A9
accent
#3AEEDF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1B7213

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

Preview Lab → · Contrast checker → · Palette generator →

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