#1B8A23#1B8A23

#1B8A23 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.4% C 0.169 H 143.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#1B8A23
RGBrgb(27, 138, 35)
HSLhsl(124, 67%, 32%)
HSVhsv(124, 80%, 54%)
CMYKcmyk(80.4%, 0%, 74.6%, 45.9%)
CIE-LABlab(50.13, -50.25, 44.13)
CIE-LCHlch(50.13, 66.88, 138.71°)
OKLaboklab(55.36% -0.136 0.1001)
OKLCHoklch(55.36% 0.169 143.6)
XYZxyz(9.8432, 18.5301, 4.6477)
Luminance0.1853 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8A23 #8A1B82
analogous
#4B8A1B #1B8A23 #1B8A5A
triadic
#1B8A23 #231B8A #8A231B
tetradic
#1B8A23 #1B4B8A #8A1B82 #8A5A1B
square
#1B8A23 #1B4B8A #8A1B82 #8A5A1B
split-complementary
#1B8A23 #5A1B8A #8A1B4B
monochromatic
#072409 #115716 #1B8A23 #25BD30 #45DB50

Accessibility & contrast

On white

4.46
#1B8A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#1B8A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B8A23
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8A23#FFFFFF#000000##000000
##1B8A231.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C11
Deuteranopia (green-blind)
#81742E
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1b8a23;
/* rgb */ color: rgb(27, 138, 35);
/* oklch */ color: oklch(55.4% 0.169 143.6);
Tailwind
colors: {
  custom: {
    50: '#6dad65',
    500: '#1b8a23',
    950: '#000000',
  },
}
SCSS
$custom: #1b8a23;
$custom-light: #6dad65;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8a23",
  "rgb": {
    "r": 27,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 124.324,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55364,
    "c": 0.16891,
    "h": 143.6
  },
  "luminance": 0.18531
}

Semantic roles & 50–950 ramp

primary
#1B8A23
secondary
#BC45B3
accent
#3EDEEA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1B8A23

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

Preview Lab → · Contrast checker → · Palette generator →

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