#8B9923#8B9923

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

Color values

HEX#8B9923
RGBrgb(139, 153, 35)
HSLhsl(67, 63%, 37%)
HSVhsv(67, 77%, 60%)
CMYKcmyk(9.2%, 0%, 77.1%, 40%)
CIE-LABlab(60.24, -20.05, 55.80)
CIE-LCHlch(60.24, 59.29, 109.76°)
OKLaboklab(65.04% -0.0608 0.1226)
OKLCHoklch(65.04% 0.137 116.4)
XYZxyz(22.3427, 28.3931, 5.8932)
Luminance0.2839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9923 #312399
analogous
#996C23 #8B9923 #509923
triadic
#8B9923 #238B99 #99238B
tetradic
#8B9923 #23996C #312399 #992350
square
#8B9923 #23996C #312399 #992350
split-complementary
#8B9923 #235099 #6C2399
monochromatic
#31350C #5E6718 #8B9923 #B8CB2E #CBDA5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B9923#FFFFFF#000000##000000
##8B99231.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)
#A49104
Deuteranopia (green-blind)
#A3922E
Tritanopia (blue-blind)
#949083
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8b9923;
/* rgb */ color: rgb(139, 153, 35);
/* oklch */ color: oklch(65.0% 0.137 116.4);
Tailwind
colors: {
  custom: {
    50: '#b0b668',
    500: '#8b9923',
    950: '#000000',
  },
}
SCSS
$custom: #8b9923;
$custom-light: #b0b668;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9923",
  "rgb": {
    "r": 139,
    "g": 153,
    "b": 35
  },
  "hsl": {
    "h": 67.119,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6504,
    "c": 0.13686,
    "h": 116.4
  },
  "luminance": 0.28393
}

Semantic roles & 50–950 ramp

primary
#8B9923
secondary
#6559BE
accent
#42E655
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8B9923

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

Preview Lab → · Contrast checker → · Palette generator →

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