#1B7C15#1B7C15

#1B7C15 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.161 H 142.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#1B7C15
RGBrgb(27, 124, 21)
HSLhsl(117, 71%, 28%)
HSVhsv(117, 83%, 49%)
CMYKcmyk(78.2%, 0%, 83.1%, 51.4%)
CIE-LABlab(45.22, -46.66, 44.25)
CIE-LCHlch(45.22, 64.31, 136.52°)
OKLaboklab(51.25% -0.1269 0.0984)
OKLCHoklch(51.25% 0.161 142.2)
XYZxyz(7.7945, 14.7016, 3.1362)
Luminance0.1470 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7C15 #76157C
analogous
#4E7C15 #1B7C15 #157C42
triadic
#1B7C15 #151B7C #7C151B
tetradic
#1B7C15 #154E7C #76157C #7C4215
square
#1B7C15 #154E7C #76157C #7C4215
split-complementary
#1B7C15 #42157C #7C154E
monochromatic
#061A04 #10480C #1B7C15 #26B01E #3ADC30

Accessibility & contrast

On white

5.33
#1B7C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#1B7C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7C15
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7C15#FFFFFF#000000##FFFFFF
##1B7C151.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1b7c15;
/* rgb */ color: rgb(27, 124, 21);
/* oklch */ color: oklch(51.3% 0.161 142.2);
Tailwind
colors: {
  custom: {
    50: '#6aa35c',
    500: '#1b7c15',
    950: '#000000',
  },
}
SCSS
$custom: #1b7c15;
$custom-light: #6aa35c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7c15",
  "rgb": {
    "r": 27,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 116.505,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51254,
    "c": 0.16062,
    "h": 142.2
  },
  "luminance": 0.14702
}

Semantic roles & 50–950 ramp

primary
#1B7C15
secondary
#AA3CB1
accent
#3AEEE3
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #1B7C15

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

Preview Lab → · Contrast checker → · Palette generator →

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