#1B7512#1B7512

#1B7512 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.2% C 0.154 H 141.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#1B7512
RGBrgb(27, 117, 18)
HSLhsl(115, 73%, 26%)
HSVhsv(115, 85%, 46%)
CMYKcmyk(76.9%, 0%, 84.6%, 54.1%)
CIE-LABlab(42.76, -44.48, 42.87)
CIE-LCHlch(42.76, 61.78, 136.05°)
OKLaboklab(49.2% -0.1212 0.0951)
OKLCHoklch(49.2% 0.154 141.9)
XYZxyz(6.9221, 12.9985, 2.7163)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7512 #6C1275
analogous
#4D7512 #1B7512 #12753B
triadic
#1B7512 #121B75 #75121B
tetradic
#1B7512 #124D75 #6C1275 #753B12
square
#1B7512 #124D75 #6C1275 #753B12
split-complementary
#1B7512 #3B1275 #75124D
monochromatic
#061B04 #0F400A #1B7512 #27AA1A #35DD24

Accessibility & contrast

On white

5.83
#1B7512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#1B7512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7512
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7512#FFFFFF#000000##FFFFFF
##1B75121.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6E621F
Tritanopia (blue-blind)
#007163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1b7512;
/* rgb */ color: rgb(27, 117, 18);
/* oklch */ color: oklch(49.2% 0.154 141.9);
Tailwind
colors: {
  custom: {
    50: '#689e5a',
    500: '#1b7512',
    950: '#000000',
  },
}
SCSS
$custom: #1b7512;
$custom-light: #689e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7512",
  "rgb": {
    "r": 27,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 114.545,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49203,
    "c": 0.15403,
    "h": 141.9
  },
  "luminance": 0.12999
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B7512

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

Preview Lab → · Contrast checker → · Palette generator →

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