#1B7D23#1B7D23

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

Color values

HEX#1B7D23
RGBrgb(27, 125, 35)
HSLhsl(125, 64%, 30%)
HSVhsv(125, 78%, 49%)
CMYKcmyk(78.4%, 0%, 72%, 51%)
CIE-LABlab(45.66, -45.86, 39.48)
CIE-LCHlch(45.66, 60.51, 139.27°)
OKLaboklab(51.65% -0.1241 0.0904)
OKLCHoklch(51.65% 0.154 143.9)
XYZxyz(8.0884, 15.0206, 4.0628)
Luminance0.1502 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7D23 #7D1B75
analogous
#447D1B #1B7D23 #1B7D54
triadic
#1B7D23 #231B7D #7D231B
tetradic
#1B7D23 #1B447D #7D1B75 #7D541B
square
#1B7D23 #1B447D #7D1B75 #7D541B
split-complementary
#1B7D23 #541B7D #7D1B44
monochromatic
#051907 #104B15 #1B7D23 #26AF31 #3DD54A

Accessibility & contrast

On white

5.24
#1B7D23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1B7D23
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7D23#FFFFFF#000000##FFFFFF
##1B7D231.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807116
Deuteranopia (green-blind)
#75692C
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1b7d23;
/* rgb */ color: rgb(27, 125, 35);
/* oklch */ color: oklch(51.6% 0.154 143.9);
Tailwind
colors: {
  custom: {
    50: '#69a463',
    500: '#1b7d23',
    950: '#000000',
  },
}
SCSS
$custom: #1b7d23;
$custom-light: #69a463;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7d23",
  "rgb": {
    "r": 27,
    "g": 125,
    "b": 35
  },
  "hsl": {
    "h": 124.898,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51649,
    "c": 0.15354,
    "h": 143.9
  },
  "luminance": 0.15022
}

Semantic roles & 50–950 ramp

primary
#1B7D23
secondary
#B143A8
accent
#40DAE7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #1B7D23

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

Preview Lab → · Contrast checker → · Palette generator →

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