#1B7B15#1B7B15

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

Color values

HEX#1B7B15
RGBrgb(27, 123, 21)
HSLhsl(116, 71%, 28%)
HSVhsv(116, 83%, 48%)
CMYKcmyk(78%, 0%, 82.9%, 51.8%)
CIE-LABlab(44.87, -46.32, 43.92)
CIE-LCHlch(44.87, 63.84, 136.53°)
OKLaboklab(50.96% -0.126 0.0977)
OKLCHoklch(50.96% 0.159 142.2)
XYZxyz(7.6699, 14.4522, 3.0947)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7B15 #75157B
analogous
#4E7B15 #1B7B15 #157B42
triadic
#1B7B15 #151B7B #7B151B
tetradic
#1B7B15 #154E7B #75157B #7B4215
square
#1B7B15 #154E7B #75157B #7B4215
split-complementary
#1B7B15 #42157B #7B154E
monochromatic
#061A04 #10470C #1B7B15 #26AF1E #39DB2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B7B15#FFFFFF#000000##FFFFFF
##1B7B151.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)
#736722
Tritanopia (blue-blind)
#007768
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1b7b15;
/* rgb */ color: rgb(27, 123, 21);
/* oklch */ color: oklch(51.0% 0.159 142.2);
Tailwind
colors: {
  custom: {
    50: '#6aa25c',
    500: '#1b7b15',
    950: '#000000',
  },
}
SCSS
$custom: #1b7b15;
$custom-light: #6aa25c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7b15",
  "rgb": {
    "r": 27,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 116.471,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50964,
    "c": 0.15948,
    "h": 142.2
  },
  "luminance": 0.14453
}

Semantic roles & 50–950 ramp

primary
#1B7B15
secondary
#A93BB0
accent
#3AEEE3
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #1B7B15

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

Preview Lab → · Contrast checker → · Palette generator →

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