#1B7E15#1B7E15

#1B7E15 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.163 H 142.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#1B7E15
RGBrgb(27, 126, 21)
HSLhsl(117, 71%, 29%)
HSVhsv(117, 83%, 49%)
CMYKcmyk(78.6%, 0%, 83.3%, 50.6%)
CIE-LABlab(45.92, -47.33, 44.90)
CIE-LCHlch(45.92, 65.24, 136.51°)
OKLaboklab(51.83% -0.1287 0.0998)
OKLCHoklch(51.83% 0.163 142.2)
XYZxyz(8.0477, 15.2079, 3.2206)
Luminance0.1521 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7E15 #78157E
analogous
#507E15 #1B7E15 #157E44
triadic
#1B7E15 #151B7E #7E151B
tetradic
#1B7E15 #15507E #78157E #7E4415
square
#1B7E15 #15507E #78157E #7E4415
split-complementary
#1B7E15 #44157E #7E1550
monochromatic
#061A04 #104A0C #1B7E15 #26B21E #3BDD31

Accessibility & contrast

On white

5.20
#1B7E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#1B7E15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7E15
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7E15#FFFFFF#000000##FFFFFF
##1B7E151.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#766A22
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1b7e15;
/* rgb */ color: rgb(27, 126, 21);
/* oklch */ color: oklch(51.8% 0.163 142.2);
Tailwind
colors: {
  custom: {
    50: '#6aa45c',
    500: '#1b7e15',
    950: '#000000',
  },
}
SCSS
$custom: #1b7e15;
$custom-light: #6aa45c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7e15",
  "rgb": {
    "r": 27,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 116.571,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51832,
    "c": 0.16289,
    "h": 142.2
  },
  "luminance": 0.15209
}

Semantic roles & 50–950 ramp

primary
#1B7E15
secondary
#AC3CB3
accent
#3AEEE4
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #1B7E15

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

Preview Lab → · Contrast checker → · Palette generator →

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