#8B9933#8B9933

#8B9933 is a light, vivid yellow. Relative luminance 0.285; OKLCH L 65.2% C 0.126 H 116.7°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8B9933
RGBrgb(139, 153, 51)
HSLhsl(68, 50%, 40%)
HSVhsv(68, 67%, 60%)
CMYKcmyk(9.2%, 0%, 66.7%, 40%)
CIE-LABlab(60.35, -19.15, 49.86)
CIE-LCHlch(60.35, 53.41, 111.02°)
OKLaboklab(65.16% -0.0568 0.1128)
OKLCHoklch(65.16% 0.126 116.7)
XYZxyz(22.6367, 28.5107, 7.4420)
Luminance0.2851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9933 #413399
analogous
#997433 #8B9933 #589933
triadic
#8B9933 #338B99 #99338B
tetradic
#8B9933 #339974 #413399 #993358
square
#8B9933 #339974 #413399 #993358
split-complementary
#8B9933 #335899 #743399
monochromatic
#383D14 #616B24 #8B9933 #B1C247 #C5D175

Accessibility & contrast

On white

3.13
#8B9933 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#8B9933 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9933
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9933#FFFFFF#000000##000000
##8B99331.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39125
Deuteranopia (green-blind)
#A2923A
Tritanopia (blue-blind)
#939184
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8b9933;
/* rgb */ color: rgb(139, 153, 51);
/* oklch */ color: oklch(65.2% 0.126 116.7);
Tailwind
colors: {
  custom: {
    50: '#b0b770',
    500: '#8b9933',
    950: '#000000',
  },
}
SCSS
$custom: #8b9933;
$custom-light: #b0b770;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9933",
  "rgb": {
    "r": 139,
    "g": 153,
    "b": 51
  },
  "hsl": {
    "h": 68.235,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.65158,
    "c": 0.12632,
    "h": 116.7
  },
  "luminance": 0.2851
}

Semantic roles & 50–950 ramp

primary
#8B9933
secondary
#796EB9
accent
#4EDA61
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8B9933

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

Preview Lab → · Contrast checker → · Palette generator →

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