#8B9523#8B9523

#8B9523 is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.1% C 0.132 H 114.6°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8B9523
RGBrgb(139, 149, 35)
HSLhsl(65, 62%, 36%)
HSVhsv(65, 77%, 58%)
CMYKcmyk(6.7%, 0%, 76.5%, 41.6%)
CIE-LABlab(59.07, -18.00, 54.71)
CIE-LCHlch(59.07, 57.60, 108.21°)
OKLaboklab(64.1% -0.0551 0.1203)
OKLCHoklch(64.1% 0.132 114.6)
XYZxyz(21.6989, 27.1056, 5.6786)
Luminance0.2711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9523 #2D2395
analogous
#956623 #8B9523 #529523
triadic
#8B9523 #238B95 #95238B
tetradic
#8B9523 #239566 #2D2395 #952352
square
#8B9523 #239566 #2D2395 #952352
split-complementary
#8B9523 #235295 #662395
monochromatic
#2F320C #5D6317 #8B9523 #B9C72F #CDD85A

Accessibility & contrast

On white

3.27
#8B9523 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#8B9523 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9523
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9523#FFFFFF#000000##000000
##8B95231.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D07
Deuteranopia (green-blind)
#A08F2D
Tritanopia (blue-blind)
#948C80
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8b9523;
/* rgb */ color: rgb(139, 149, 35);
/* oklch */ color: oklch(64.1% 0.132 114.6);
Tailwind
colors: {
  custom: {
    50: '#b0b468',
    500: '#8b9523',
    950: '#000000',
  },
}
SCSS
$custom: #8b9523;
$custom-light: #b0b468;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9523",
  "rgb": {
    "r": 139,
    "g": 149,
    "b": 35
  },
  "hsl": {
    "h": 65.263,
    "s": 61.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.64101,
    "c": 0.13234,
    "h": 114.6
  },
  "luminance": 0.27105
}

Semantic roles & 50–950 ramp

primary
#8B9523
secondary
#6057BD
accent
#43E551
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8B9523

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

Preview Lab → · Contrast checker → · Palette generator →

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