#1B7B14#1B7B14

#1B7B14 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.160 H 142.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#1B7B14
RGBrgb(27, 123, 20)
HSLhsl(116, 72%, 28%)
HSVhsv(116, 84%, 48%)
CMYKcmyk(78%, 0%, 83.7%, 51.8%)
CIE-LABlab(44.87, -46.39, 44.23)
CIE-LCHlch(44.87, 64.09, 136.37°)
OKLaboklab(50.96% -0.1262 0.0982)
OKLCHoklch(50.96% 0.16 142.1)
XYZxyz(7.6608, 14.4486, 3.0468)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7B14 #74147B
analogous
#4E7B14 #1B7B14 #147B40
triadic
#1B7B14 #141B7B #7B141B
tetradic
#1B7B14 #144E7B #74147B #7B4014
square
#1B7B14 #144E7B #74147B #7B4014
split-complementary
#1B7B14 #40147B #7B144E
monochromatic
#061A04 #0F460B #1B7B14 #27B01D #39DD2D

Accessibility & contrast

On white

5.40
#1B7B14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#1B7B14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7B14
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7B14#FFFFFF#000000##FFFFFF
##1B7B141.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#007768
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1b7b14;
/* rgb */ color: rgb(27, 123, 20);
/* oklch */ color: oklch(51.0% 0.160 142.1);
Tailwind
colors: {
  custom: {
    50: '#6aa25c',
    500: '#1b7b14',
    950: '#000000',
  },
}
SCSS
$custom: #1b7b14;
$custom-light: #6aa25c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7b14",
  "rgb": {
    "r": 27,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 115.922,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50958,
    "c": 0.15996,
    "h": 142.1
  },
  "luminance": 0.14449
}

Semantic roles & 50–950 ramp

primary
#1B7B14
secondary
#A93AB1
accent
#39EFE2
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #1B7B14

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

Preview Lab → · Contrast checker → · Palette generator →

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