#1B8E23#1B8E23

#1B8E23 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.174 H 143.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#1B8E23
RGBrgb(27, 142, 35)
HSLhsl(124, 68%, 33%)
HSVhsv(124, 81%, 56%)
CMYKcmyk(81%, 0%, 75.4%, 44.3%)
CIE-LABlab(51.50, -51.57, 45.51)
CIE-LCHlch(51.50, 68.78, 138.57°)
OKLaboklab(56.5% -0.1396 0.103)
OKLCHoklch(56.5% 0.174 143.6)
XYZxyz(10.4277, 19.6991, 4.8425)
Luminance0.1970 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8E23 #8E1B86
analogous
#4C8E1B #1B8E23 #1B8E5C
triadic
#1B8E23 #231B8E #8E231B
tetradic
#1B8E23 #1B4C8E #8E1B86 #8E5C1B
square
#1B8E23 #1B4C8E #8E1B86 #8E5C1B
split-complementary
#1B8E23 #5C1B8E #8E1B4C
monochromatic
#07270A #115B16 #1B8E23 #25C130 #47DC52

Accessibility & contrast

On white

4.25
#1B8E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#1B8E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8E23
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8E23#FFFFFF#000000##000000
##1B8E231.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800F
Deuteranopia (green-blind)
#85772E
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1b8e23;
/* rgb */ color: rgb(27, 142, 35);
/* oklch */ color: oklch(56.5% 0.174 143.6);
Tailwind
colors: {
  custom: {
    50: '#6eb065',
    500: '#1b8e23',
    950: '#000000',
  },
}
SCSS
$custom: #1b8e23;
$custom-light: #6eb065;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8e23",
  "rgb": {
    "r": 27,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 124.174,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56497,
    "c": 0.17351,
    "h": 143.6
  },
  "luminance": 0.197
}

Semantic roles & 50–950 ramp

primary
#1B8E23
secondary
#BE47B5
accent
#3DDFEB
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #1B8E23

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

Preview Lab → · Contrast checker → · Palette generator →

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