#8B9926#8B9926

#8B9926 is a light, vivid yellow. Relative luminance 0.284; OKLCH L 65.1% C 0.135 H 116.4°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#8B9926
RGBrgb(139, 153, 38)
HSLhsl(67, 60%, 37%)
HSVhsv(67, 75%, 60%)
CMYKcmyk(9.2%, 0%, 75.2%, 40%)
CIE-LABlab(60.26, -19.91, 54.79)
CIE-LCHlch(60.26, 58.30, 109.97°)
OKLaboklab(65.06% -0.0602 0.121)
OKLCHoklch(65.06% 0.135 116.4)
XYZxyz(22.3891, 28.4117, 6.1379)
Luminance0.2841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9926 #342699
analogous
#996D26 #8B9926 #529926
triadic
#8B9926 #268B99 #99268B
tetradic
#8B9926 #26996D #342699 #992652
square
#8B9926 #26996D #342699 #992652
split-complementary
#8B9926 #265299 #6D2699
monochromatic
#32370E #5E681A #8B9926 #B8CA32 #C9D862

Accessibility & contrast

On white

3.14
#8B9926 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#8B9926 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9926
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9926#FFFFFF#000000##000000
##8B99261.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4910D
Deuteranopia (green-blind)
#A39230
Tritanopia (blue-blind)
#949083
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8b9926;
/* rgb */ color: rgb(139, 153, 38);
/* oklch */ color: oklch(65.1% 0.135 116.4);
Tailwind
colors: {
  custom: {
    50: '#b0b669',
    500: '#8b9926',
    950: '#000000',
  },
}
SCSS
$custom: #8b9926;
$custom-light: #b0b669;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9926",
  "rgb": {
    "r": 139,
    "g": 153,
    "b": 38
  },
  "hsl": {
    "h": 67.304,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.65059,
    "c": 0.13516,
    "h": 116.4
  },
  "luminance": 0.28411
}

Semantic roles & 50–950 ramp

primary
#8B9926
secondary
#695EBD
accent
#44E358
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8B9926

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

Preview Lab → · Contrast checker → · Palette generator →

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