#1B8D23#1B8D23

#1B8D23 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.2% C 0.172 H 143.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#1B8D23
RGBrgb(27, 141, 35)
HSLhsl(124, 68%, 33%)
HSVhsv(124, 81%, 55%)
CMYKcmyk(80.9%, 0%, 75.2%, 44.7%)
CIE-LABlab(51.16, -51.24, 45.17)
CIE-LCHlch(51.16, 68.31, 138.60°)
OKLaboklab(56.21% -0.1387 0.1023)
OKLCHoklch(56.21% 0.172 143.6)
XYZxyz(10.2796, 19.4029, 4.7931)
Luminance0.1940 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8D23 #8D1B85
analogous
#4C8D1B #1B8D23 #1B8D5C
triadic
#1B8D23 #231B8D #8D231B
tetradic
#1B8D23 #1B4C8D #8D1B85 #8D5C1B
square
#1B8D23 #1B4C8D #8D1B85 #8D5C1B
split-complementary
#1B8D23 #5C1B8D #8D1B4C
monochromatic
#07260A #115A16 #1B8D23 #25C030 #47DC51

Accessibility & contrast

On white

4.30
#1B8D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#1B8D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8D23
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8D23#FFFFFF#000000##000000
##1B8D231.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0F
Deuteranopia (green-blind)
#84772E
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1b8d23;
/* rgb */ color: rgb(27, 141, 35);
/* oklch */ color: oklch(56.2% 0.172 143.6);
Tailwind
colors: {
  custom: {
    50: '#6eaf65',
    500: '#1b8d23',
    950: '#000000',
  },
}
SCSS
$custom: #1b8d23;
$custom-light: #6eaf65;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8d23",
  "rgb": {
    "r": 27,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 124.211,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56214,
    "c": 0.17237,
    "h": 143.6
  },
  "luminance": 0.19404
}

Semantic roles & 50–950 ramp

primary
#1B8D23
secondary
#BD46B5
accent
#3DDFEB
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #1B8D23

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

Preview Lab → · Contrast checker → · Palette generator →

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