#8CB123#8CB123

#8CB123 is a light, vivid yellow-green. Relative luminance 0.371; OKLCH L 70.8% C 0.165 H 124.0°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#8CB123
RGBrgb(140, 177, 35)
HSLhsl(76, 67%, 42%)
HSVhsv(76, 80%, 69%)
CMYKcmyk(20.9%, 0%, 80.2%, 30.6%)
CIE-LABlab(67.38, -31.37, 62.35)
CIE-LCHlch(67.38, 69.80, 116.71°)
OKLaboklab(70.82% -0.0919 0.1365)
OKLCHoklch(70.82% 0.165 124)
XYZxyz(26.8411, 37.1408, 7.3446)
Luminance0.3714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB123 #4823B1
analogous
#B18F23 #8CB123 #45B123
triadic
#8CB123 #238CB1 #B1238C
tetradic
#8CB123 #23B18F #4823B1 #B12345
square
#8CB123 #23B18F #4823B1 #B12345
split-complementary
#8CB123 #2345B1 #8F23B1
monochromatic
#3B4B0F #647E19 #8CB123 #AFD839 #C3E26C

Accessibility & contrast

On white

2.49
#8CB123 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#8CB123 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB123
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB123#FFFFFF#000000##000000
##8CB1231.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#B7A432
Tritanopia (blue-blind)
#93A897
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8cb123;
/* rgb */ color: rgb(140, 177, 35);
/* oklch */ color: oklch(70.8% 0.165 124.0);
Tailwind
colors: {
  custom: {
    50: '#b2c86b',
    500: '#8cb123',
    950: '#000000',
  },
}
SCSS
$custom: #8cb123;
$custom-light: #b2c86b;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb123",
  "rgb": {
    "r": 140,
    "g": 177,
    "b": 35
  },
  "hsl": {
    "h": 75.634,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.70818,
    "c": 0.16452,
    "h": 124
  },
  "luminance": 0.37141
}

Semantic roles & 50–950 ramp

primary
#8CB123
secondary
#8168C8
accent
#3EEA6B
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8CB123

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

Preview Lab → · Contrast checker → · Palette generator →

#8CB123 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva