#9A8526#9A8526

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

Color values

HEX#9A8526
RGBrgb(154, 133, 38)
HSLhsl(49, 60%, 38%)
HSVhsv(49, 75%, 60%)
CMYKcmyk(0%, 13.6%, 75.3%, 39.6%)
CIE-LABlab(55.87, -2.50, 51.07)
CIE-LCHlch(55.87, 51.13, 92.80°)
OKLaboklab(61.88% -0.0122 0.1126)
OKLCHoklch(61.88% 0.113 96.2)
XYZxyz(22.0649, 23.7862, 5.2623)
Luminance0.2379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8526 #263B9A
analogous
#9A4B26 #9A8526 #759A26
triadic
#9A8526 #269A85 #85269A
tetradic
#9A8526 #269A4B #263B9A #9A2675
square
#9A8526 #269A4B #263B9A #9A2675
split-complementary
#9A8526 #26759A #4B269A
monochromatic
#38300E #695B1A #9A8526 #CBAF32 #D8C362

Accessibility & contrast

On white

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

On black

5.76
#9A8526 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8526
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8526#FFFFFF#000000##000000
##9A85261.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938216
Deuteranopia (green-blind)
#98892C
Tritanopia (blue-blind)
#A77A72
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9a8526;
/* rgb */ color: rgb(154, 133, 38);
/* oklch */ color: oklch(61.9% 0.113 96.2);
Tailwind
colors: {
  custom: {
    50: '#bba867',
    500: '#9a8526',
    950: '#000000',
  },
}
SCSS
$custom: #9a8526;
$custom-light: #bba867;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8526",
  "rgb": {
    "r": 154,
    "g": 133,
    "b": 38
  },
  "hsl": {
    "h": 49.138,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61879,
    "c": 0.11324,
    "h": 96.2
  },
  "luminance": 0.23785
}

Semantic roles & 50–950 ramp

primary
#9A8526
secondary
#5E6FBE
accent
#61E444
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #9A8526

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

Preview Lab → · Contrast checker → · Palette generator →

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