#9A8424#9A8424

#9A8424 is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.6% C 0.114 H 95.6°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#9A8424
RGBrgb(154, 132, 36)
HSLhsl(49, 62%, 37%)
HSVhsv(49, 77%, 60%)
CMYKcmyk(0%, 14.3%, 76.6%, 39.6%)
CIE-LABlab(55.58, -2.04, 51.56)
CIE-LCHlch(55.58, 51.60, 92.26°)
OKLaboklab(61.65% -0.0111 0.1132)
OKLCHoklch(61.65% 0.114 95.6)
XYZxyz(21.8973, 23.5011, 5.0515)
Luminance0.2350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8424 #243A9A
analogous
#9A4924 #9A8424 #759A24
triadic
#9A8424 #249A84 #84249A
tetradic
#9A8424 #249A49 #243A9A #9A2475
square
#9A8424 #249A49 #243A9A #9A2475
split-complementary
#9A8424 #24759A #49249A
monochromatic
#372F0D #685918 #9A8424 #CCAF30 #DAC35F

Accessibility & contrast

On white

3.68
#9A8424 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#9A8424 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8424
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8424#FFFFFF#000000##000000
##9A84241.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928112
Deuteranopia (green-blind)
#98882A
Tritanopia (blue-blind)
#A77971
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9a8424;
/* rgb */ color: rgb(154, 132, 36);
/* oklch */ color: oklch(61.6% 0.114 95.6);
Tailwind
colors: {
  custom: {
    50: '#bca766',
    500: '#9a8424',
    950: '#000000',
  },
}
SCSS
$custom: #9a8424;
$custom-light: #bca766;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8424",
  "rgb": {
    "r": 154,
    "g": 132,
    "b": 36
  },
  "hsl": {
    "h": 48.814,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61646,
    "c": 0.11375,
    "h": 95.6
  },
  "luminance": 0.235
}

Semantic roles & 50–950 ramp

primary
#9A8424
secondary
#5B6EBF
accent
#61E543
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #9A8424

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

Preview Lab → · Contrast checker → · Palette generator →

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