#8B9E23#8B9E23

#8B9E23 is a light, vivid yellow. Relative luminance 0.301; OKLCH L 66.2% C 0.143 H 118.4°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8B9E23
RGBrgb(139, 158, 35)
HSLhsl(69, 64%, 38%)
HSVhsv(69, 78%, 62%)
CMYKcmyk(12%, 0%, 77.8%, 38%)
CIE-LABlab(61.71, -22.57, 57.16)
CIE-LCHlch(61.71, 61.45, 111.55°)
OKLaboklab(66.22% -0.0678 0.1255)
OKLCHoklch(66.22% 0.143 118.4)
XYZxyz(23.1782, 30.0642, 6.1717)
Luminance0.3006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9E23 #36239E
analogous
#9E7323 #8B9E23 #4E9E23
triadic
#8B9E23 #238B9E #9E238B
tetradic
#8B9E23 #239E73 #36239E #9E234E
square
#8B9E23 #239E73 #36239E #9E234E
split-complementary
#8B9E23 #234E9E #73239E
monochromatic
#333A0D #5F6C18 #8B9E23 #B7D02E #C9DC60

Accessibility & contrast

On white

2.99
#8B9E23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#8B9E23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8B9E23
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9E23#FFFFFF#000000##000000
##8B9E231.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99501
Deuteranopia (green-blind)
#A7962F
Tritanopia (blue-blind)
#949587
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8b9e23;
/* rgb */ color: rgb(139, 158, 35);
/* oklch */ color: oklch(66.2% 0.143 118.4);
Tailwind
colors: {
  custom: {
    50: '#b0ba69',
    500: '#8b9e23',
    950: '#000000',
  },
}
SCSS
$custom: #8b9e23;
$custom-light: #b0ba69;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9e23",
  "rgb": {
    "r": 139,
    "g": 158,
    "b": 35
  },
  "hsl": {
    "h": 69.268,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.6622,
    "c": 0.14262,
    "h": 118.4
  },
  "luminance": 0.30064
}

Semantic roles & 50–950 ramp

primary
#8B9E23
secondary
#6C5CC1
accent
#41E75B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8B9E23

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

Preview Lab → · Contrast checker → · Palette generator →

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