#1B7412#1B7412

#1B7412 is a mid, vivid green. Relative luminance 0.128; OKLCH L 48.9% C 0.153 H 141.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#1B7412
RGBrgb(27, 116, 18)
HSLhsl(114, 73%, 26%)
HSVhsv(114, 84%, 45%)
CMYKcmyk(76.7%, 0%, 84.5%, 54.5%)
CIE-LABlab(42.41, -44.13, 42.55)
CIE-LCHlch(42.41, 61.30, 136.05°)
OKLaboklab(48.91% -0.1202 0.0944)
OKLCHoklch(48.91% 0.153 141.9)
XYZxyz(6.8062, 12.7667, 2.6777)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7412 #6B1274
analogous
#4C7412 #1B7412 #12743A
triadic
#1B7412 #121B74 #74121B
tetradic
#1B7412 #124C74 #6B1274 #743A12
square
#1B7412 #124C74 #6B1274 #743A12
split-complementary
#1B7412 #3A1274 #74124C
monochromatic
#061A04 #0F3F0A #1B7412 #27A91A #35DD23

Accessibility & contrast

On white

5.91
#1B7412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#1B7412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7412
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7412#FFFFFF#000000##FFFFFF
##1B74121.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6D611E
Tritanopia (blue-blind)
#007062
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1b7412;
/* rgb */ color: rgb(27, 116, 18);
/* oklch */ color: oklch(48.9% 0.153 141.9);
Tailwind
colors: {
  custom: {
    50: '#689d5a',
    500: '#1b7412',
    950: '#000000',
  },
}
SCSS
$custom: #1b7412;
$custom-light: #689d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7412",
  "rgb": {
    "r": 27,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 114.49,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48911,
    "c": 0.15288,
    "h": 141.9
  },
  "luminance": 0.12767
}

Semantic roles & 50–950 ramp

primary
#1B7412
secondary
#A037AB
accent
#38F0DF
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1B7412

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

Preview Lab → · Contrast checker → · Palette generator →

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