#1B7D22#1B7D22

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

Color values

HEX#1B7D22
RGBrgb(27, 125, 34)
HSLhsl(124, 64%, 30%)
HSVhsv(124, 78%, 49%)
CMYKcmyk(78.4%, 0%, 72.8%, 51%)
CIE-LABlab(45.65, -45.96, 39.89)
CIE-LCHlch(45.65, 60.86, 139.04°)
OKLaboklab(51.64% -0.1244 0.0912)
OKLCHoklch(51.64% 0.154 143.8)
XYZxyz(8.0738, 15.0148, 3.9857)
Luminance0.1502 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7D22 #7D1B76
analogous
#457D1B #1B7D22 #1B7D53
triadic
#1B7D22 #221B7D #7D221B
tetradic
#1B7D22 #1B457D #7D1B76 #7D531B
square
#1B7D22 #1B457D #7D1B76 #7D531B
split-complementary
#1B7D22 #531B7D #7D1B45
monochromatic
#051907 #104B14 #1B7D22 #26AF30 #3DD548

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #1b7d22;
/* rgb */ color: rgb(27, 125, 34);
/* oklch */ color: oklch(51.6% 0.154 143.8);
Tailwind
colors: {
  custom: {
    50: '#6aa463',
    500: '#1b7d22',
    950: '#000000',
  },
}
SCSS
$custom: #1b7d22;
$custom-light: #6aa463;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7d22",
  "rgb": {
    "r": 27,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 124.286,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5164,
    "c": 0.15423,
    "h": 143.8
  },
  "luminance": 0.15016
}

Semantic roles & 50–950 ramp

primary
#1B7D22
secondary
#B143A9
accent
#40DCE7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #1B7D22

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

Preview Lab → · Contrast checker → · Palette generator →

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