#8B9E24#8B9E24

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

Color values

HEX#8B9E24
RGBrgb(139, 158, 36)
HSLhsl(69, 63%, 38%)
HSVhsv(69, 77%, 62%)
CMYKcmyk(12%, 0%, 77.2%, 38%)
CIE-LABlab(61.71, -22.53, 56.84)
CIE-LCHlch(61.71, 61.14, 111.62°)
OKLaboklab(66.23% -0.0676 0.125)
OKLCHoklch(66.23% 0.142 118.4)
XYZxyz(23.1933, 30.0703, 6.2510)
Luminance0.3007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9E24 #37249E
analogous
#9E7424 #8B9E24 #4E9E24
triadic
#8B9E24 #248B9E #9E248B
tetradic
#8B9E24 #249E74 #37249E #9E244E
square
#8B9E24 #249E74 #37249E #9E244E
split-complementary
#8B9E24 #244E9E #74249E
monochromatic
#333A0D #5F6C19 #8B9E24 #B7D02F #C8DB61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B9E24#FFFFFF#000000##000000
##8B9E241.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)
#A99504
Deuteranopia (green-blind)
#A7962F
Tritanopia (blue-blind)
#949587
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8b9e24;
/* rgb */ color: rgb(139, 158, 36);
/* oklch */ color: oklch(66.2% 0.142 118.4);
Tailwind
colors: {
  custom: {
    50: '#b0ba69',
    500: '#8b9e24',
    950: '#000000',
  },
}
SCSS
$custom: #8b9e24;
$custom-light: #b0ba69;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9e24",
  "rgb": {
    "r": 139,
    "g": 158,
    "b": 36
  },
  "hsl": {
    "h": 69.344,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.66226,
    "c": 0.14209,
    "h": 118.4
  },
  "luminance": 0.3007
}

Semantic roles & 50–950 ramp

primary
#8B9E24
secondary
#6D5EC0
accent
#42E65B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8B9E24

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

Preview Lab → · Contrast checker → · Palette generator →

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