#8B9E15#8B9E15

#8B9E15 is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.2% C 0.149 H 118.1°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8B9E15
RGBrgb(139, 158, 21)
HSLhsl(68, 77%, 35%)
HSVhsv(68, 87%, 62%)
CMYKcmyk(12%, 0%, 86.7%, 38%)
CIE-LABlab(61.65, -23.08, 60.92)
CIE-LCHlch(61.65, 65.14, 110.75°)
OKLaboklab(66.16% -0.0701 0.1311)
OKLCHoklch(66.16% 0.149 118.1)
XYZxyz(23.0103, 29.9971, 5.2872)
Luminance0.3000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9E15 #28159E
analogous
#9E6C15 #8B9E15 #479E15
triadic
#8B9E15 #158B9E #9E158B
tetradic
#8B9E15 #159E6C #28159E #9E1547
square
#8B9E15 #159E6C #28159E #9E1547
split-complementary
#8B9E15 #15479E #6C159E
monochromatic
#2C3207 #5B680E #8B9E15 #BBD41C #D0E747

Accessibility & contrast

On white

3.00
#8B9E15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#8B9E15 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8B9E15
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9E15#FFFFFF#000000##000000
##8B9E151.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A79525
Tritanopia (blue-blind)
#949586
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8b9e15;
/* rgb */ color: rgb(139, 158, 21);
/* oklch */ color: oklch(66.2% 0.149 118.1);
Tailwind
colors: {
  custom: {
    50: '#b1ba63',
    500: '#8b9e15',
    950: '#000000',
  },
}
SCSS
$custom: #8b9e15;
$custom-light: #b1ba63;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9e15",
  "rgb": {
    "r": 139,
    "g": 158,
    "b": 21
  },
  "hsl": {
    "h": 68.321,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.66155,
    "c": 0.14871,
    "h": 118.1
  },
  "luminance": 0.29997
}

Semantic roles & 50–950 ramp

primary
#8B9E15
secondary
#5947C7
accent
#35F34F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8B9E15

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

Preview Lab → · Contrast checker → · Palette generator →

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