#1B7612#1B7612

#1B7612 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.5% C 0.155 H 141.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#1B7612
RGBrgb(27, 118, 18)
HSLhsl(115, 74%, 27%)
HSVhsv(115, 85%, 46%)
CMYKcmyk(77.1%, 0%, 84.7%, 53.7%)
CIE-LABlab(43.11, -44.82, 43.20)
CIE-LCHlch(43.11, 62.25, 136.05°)
OKLaboklab(49.49% -0.1221 0.0958)
OKLCHoklch(49.49% 0.155 141.9)
XYZxyz(7.0392, 13.2327, 2.7553)
Luminance0.1323 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7612 #6D1276
analogous
#4D7612 #1B7612 #12763B
triadic
#1B7612 #121B76 #76121B
tetradic
#1B7612 #124D76 #6D1276 #763B12
square
#1B7612 #124D76 #6D1276 #763B12
split-complementary
#1B7612 #3B1276 #76124D
monochromatic
#061B04 #0F410A #1B7612 #27AB1A #35DE25

Accessibility & contrast

On white

5.76
#1B7612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#1B7612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7612
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7612#FFFFFF#000000##FFFFFF
##1B76121.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#6F631F
Tritanopia (blue-blind)
#007264
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #1b7612;
/* rgb */ color: rgb(27, 118, 18);
/* oklch */ color: oklch(49.5% 0.155 141.9);
Tailwind
colors: {
  custom: {
    50: '#699e5a',
    500: '#1b7612',
    950: '#000000',
  },
}
SCSS
$custom: #1b7612;
$custom-light: #699e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7612",
  "rgb": {
    "r": 27,
    "g": 118,
    "b": 18
  },
  "hsl": {
    "h": 114.6,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49494,
    "c": 0.15518,
    "h": 141.9
  },
  "luminance": 0.13234
}

Semantic roles & 50–950 ramp

primary
#1B7612
secondary
#A237AD
accent
#38F0E0
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1B7612

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

Preview Lab → · Contrast checker → · Palette generator →

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