#9A8523#9A8523

#9A8523 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.9% C 0.115 H 96.4°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9A8523
RGBrgb(154, 133, 35)
HSLhsl(49, 63%, 37%)
HSVhsv(49, 77%, 60%)
CMYKcmyk(0%, 13.6%, 77.3%, 39.6%)
CIE-LABlab(55.85, -2.64, 52.18)
CIE-LCHlch(55.85, 52.25, 92.89°)
OKLaboklab(61.86% -0.0129 0.1143)
OKLCHoklch(61.86% 0.115 96.4)
XYZxyz(22.0185, 23.7676, 5.0176)
Luminance0.2377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8523 #23389A
analogous
#9A4A23 #9A8523 #749A23
triadic
#9A8523 #239A85 #85239A
tetradic
#9A8523 #239A4A #23389A #9A2374
square
#9A8523 #239A4A #23389A #9A2374
split-complementary
#9A8523 #23749A #4A239A
monochromatic
#362F0C #685A18 #9A8523 #CCB02E #DAC45D

Accessibility & contrast

On white

3.65
#9A8523 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#9A8523 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8523
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8523#FFFFFF#000000##000000
##9A85231.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938210
Deuteranopia (green-blind)
#998929
Tritanopia (blue-blind)
#A77A72
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9a8523;
/* rgb */ color: rgb(154, 133, 35);
/* oklch */ color: oklch(61.9% 0.115 96.4);
Tailwind
colors: {
  custom: {
    50: '#bca866',
    500: '#9a8523',
    950: '#000000',
  },
}
SCSS
$custom: #9a8523;
$custom-light: #bca866;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8523",
  "rgb": {
    "r": 154,
    "g": 133,
    "b": 35
  },
  "hsl": {
    "h": 49.412,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61858,
    "c": 0.11506,
    "h": 96.4
  },
  "luminance": 0.23766
}

Semantic roles & 50–950 ramp

primary
#9A8523
secondary
#5A6CBF
accent
#5FE642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #9A8523

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

Preview Lab → · Contrast checker → · Palette generator →

#9A8523 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva