#9A8624#9A8624

#9A8624 is a light, moderate yellow. Relative luminance 0.240; OKLCH L 62.1% C 0.115 H 97.1°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9A8624
RGBrgb(154, 134, 36)
HSLhsl(50, 62%, 37%)
HSVhsv(50, 77%, 60%)
CMYKcmyk(0%, 13%, 76.6%, 39.6%)
CIE-LABlab(56.14, -3.14, 52.08)
CIE-LCHlch(56.14, 52.17, 93.46°)
OKLaboklab(62.08% -0.0142 0.1143)
OKLCHoklch(62.08% 0.115 97.1)
XYZxyz(22.1711, 24.0488, 5.1428)
Luminance0.2405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8624 #24389A
analogous
#9A4B24 #9A8624 #739A24
triadic
#9A8624 #249A86 #86249A
tetradic
#9A8624 #249A4B #24389A #9A2473
square
#9A8624 #249A4B #24389A #9A2473
split-complementary
#9A8624 #24739A #4B249A
monochromatic
#37300D #685B18 #9A8624 #CCB130 #DAC55F

Accessibility & contrast

On white

3.61
#9A8624 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#9A8624 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8624
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8624#FFFFFF#000000##000000
##9A86241.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948312
Deuteranopia (green-blind)
#99892A
Tritanopia (blue-blind)
#A77B73
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9a8624;
/* rgb */ color: rgb(154, 134, 36);
/* oklch */ color: oklch(62.1% 0.115 97.1);
Tailwind
colors: {
  custom: {
    50: '#bba866',
    500: '#9a8624',
    950: '#000000',
  },
}
SCSS
$custom: #9a8624;
$custom-light: #bba866;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8624",
  "rgb": {
    "r": 154,
    "g": 134,
    "b": 36
  },
  "hsl": {
    "h": 49.831,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62083,
    "c": 0.1152,
    "h": 97.1
  },
  "luminance": 0.24048
}

Semantic roles & 50–950 ramp

primary
#9A8624
secondary
#5B6CBF
accent
#5EE543
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #9A8624

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

Preview Lab → · Contrast checker → · Palette generator →

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