#1B7214#1B7214

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

Color values

HEX#1B7214
RGBrgb(27, 114, 20)
HSLhsl(116, 70%, 26%)
HSVhsv(116, 82%, 45%)
CMYKcmyk(76.3%, 0%, 82.5%, 55.3%)
CIE-LABlab(41.72, -43.31, 41.25)
CIE-LCHlch(41.72, 59.81, 136.40°)
OKLaboklab(48.34% -0.1179 0.092)
OKLCHoklch(48.34% 0.15 142)
XYZxyz(6.5952, 12.3174, 2.6916)
Luminance0.1232 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7214 #6B1472
analogous
#4A7214 #1B7214 #14723C
triadic
#1B7214 #141B72 #72141B
tetradic
#1B7214 #144A72 #6B1472 #723C14
square
#1B7214 #144A72 #6B1472 #723C14
split-complementary
#1B7214 #3C1472 #72144A
monochromatic
#061A05 #0F3E0B #1B7214 #27A61D #35D927

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #1b7214;
/* rgb */ color: rgb(27, 114, 20);
/* oklch */ color: oklch(48.3% 0.150 142.0);
Tailwind
colors: {
  custom: {
    50: '#679b5a',
    500: '#1b7214',
    950: '#000000',
  },
}
SCSS
$custom: #1b7214;
$custom-light: #679b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7214",
  "rgb": {
    "r": 27,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 115.532,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48338,
    "c": 0.14958,
    "h": 142
  },
  "luminance": 0.12318
}

Semantic roles & 50–950 ramp

primary
#1B7214
secondary
#A039A8
accent
#3BEDE0
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1B7214

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

Preview Lab → · Contrast checker → · Palette generator →

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