#1B7D20#1B7D20

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

Color values

HEX#1B7D20
RGBrgb(27, 125, 32)
HSLhsl(123, 64%, 30%)
HSVhsv(123, 78%, 49%)
CMYKcmyk(78.4%, 0%, 74.4%, 51%)
CIE-LABlab(45.64, -46.15, 40.70)
CIE-LCHlch(45.64, 61.53, 138.59°)
OKLaboklab(51.62% -0.125 0.0926)
OKLCHoklch(51.62% 0.156 143.5)
XYZxyz(8.0458, 15.0036, 3.8382)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7D20 #7D1B78
analogous
#477D1B #1B7D20 #1B7D51
triadic
#1B7D20 #201B7D #7D201B
tetradic
#1B7D20 #1B477D #7D1B78 #7D511B
square
#1B7D20 #1B477D #7D1B78 #7D511B
split-complementary
#1B7D20 #511B7D #7D1B47
monochromatic
#051906 #104B13 #1B7D20 #26AF2D #3DD545

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B7D20#FFFFFF#000000##FFFFFF
##1B7D201.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)
#807110
Deuteranopia (green-blind)
#75692A
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1b7d20;
/* rgb */ color: rgb(27, 125, 32);
/* oklch */ color: oklch(51.6% 0.156 143.5);
Tailwind
colors: {
  custom: {
    50: '#6aa462',
    500: '#1b7d20',
    950: '#000000',
  },
}
SCSS
$custom: #1b7d20;
$custom-light: #6aa462;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7d20",
  "rgb": {
    "r": 27,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 123.061,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51622,
    "c": 0.15556,
    "h": 143.5
  },
  "luminance": 0.15005
}

Semantic roles & 50–950 ramp

primary
#1B7D20
secondary
#B143AB
accent
#40DFE7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #1B7D20

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

Preview Lab → · Contrast checker → · Palette generator →

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