#1B7D1D#1B7D1D

#1B7D1D is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.6% C 0.157 H 143.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#1B7D1D
RGBrgb(27, 125, 29)
HSLhsl(121, 64%, 30%)
HSVhsv(121, 78%, 49%)
CMYKcmyk(78.4%, 0%, 76.8%, 51%)
CIE-LABlab(45.62, -46.41, 41.85)
CIE-LCHlch(45.62, 62.49, 137.96°)
OKLaboklab(51.6% -0.1259 0.0946)
OKLCHoklch(51.6% 0.157 143.1)
XYZxyz(8.0069, 14.9880, 3.6332)
Luminance0.1499 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7D1D #7D1B7B
analogous
#4A7D1B #1B7D1D #1B7D4E
triadic
#1B7D1D #1D1B7D #7D1D1B
tetradic
#1B7D1D #1B4A7D #7D1B7B #7D4E1B
square
#1B7D1D #1B4A7D #7D1B7B #7D4E1B
split-complementary
#1B7D1D #4E1B7D #7D1B4A
monochromatic
#051906 #104B11 #1B7D1D #26AF29 #3DD540

Accessibility & contrast

On white

5.25
#1B7D1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#1B7D1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7D1D
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7D1D#FFFFFF#000000##FFFFFF
##1B7D1D1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710A
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1b7d1d;
/* rgb */ color: rgb(27, 125, 29);
/* oklch */ color: oklch(51.6% 0.157 143.1);
Tailwind
colors: {
  custom: {
    50: '#6aa460',
    500: '#1b7d1d',
    950: '#000000',
  },
}
SCSS
$custom: #1b7d1d;
$custom-light: #6aa460;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7d1d",
  "rgb": {
    "r": 27,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 121.224,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51597,
    "c": 0.15745,
    "h": 143.1
  },
  "luminance": 0.14989
}

Semantic roles & 50–950 ramp

primary
#1B7D1D
secondary
#B143AF
accent
#40E4E7
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #1B7D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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