#9A8D24#9A8D24

#9A8D24 is a light, vivid yellow. Relative luminance 0.260; OKLCH L 63.6% C 0.121 H 102.0°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#9A8D24
RGBrgb(154, 141, 36)
HSLhsl(53, 62%, 37%)
HSVhsv(53, 77%, 60%)
CMYKcmyk(0%, 8.4%, 76.6%, 39.6%)
CIE-LABlab(58.08, -6.98, 53.90)
CIE-LCHlch(58.08, 54.35, 97.37°)
OKLaboklab(63.63% -0.0251 0.1182)
OKLCHoklch(63.63% 0.121 102)
XYZxyz(23.1708, 26.0482, 5.4760)
Luminance0.2605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8D24 #24319A
analogous
#9A5224 #9A8D24 #6C9A24
triadic
#9A8D24 #249A8D #8D249A
tetradic
#9A8D24 #249A52 #24319A #9A246C
square
#9A8D24 #249A52 #24319A #9A246C
split-complementary
#9A8D24 #246C9A #52249A
monochromatic
#37320D #686018 #9A8D24 #CCBA30 #DACC5F

Accessibility & contrast

On white

3.38
#9A8D24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#9A8D24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8D24
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8D24#FFFFFF#000000##000000
##9A8D241.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B890E
Deuteranopia (green-blind)
#9E8E2C
Tritanopia (blue-blind)
#A68379
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9a8d24;
/* rgb */ color: rgb(154, 141, 36);
/* oklch */ color: oklch(63.6% 0.121 102.0);
Tailwind
colors: {
  custom: {
    50: '#bbae67',
    500: '#9a8d24',
    950: '#000000',
  },
}
SCSS
$custom: #9a8d24;
$custom-light: #bbae67;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8d24",
  "rgb": {
    "r": 154,
    "g": 141,
    "b": 36
  },
  "hsl": {
    "h": 53.39,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63627,
    "c": 0.12084,
    "h": 102
  },
  "luminance": 0.26047
}

Semantic roles & 50–950 ramp

primary
#9A8D24
secondary
#5B66BF
accent
#55E543
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9A8D24

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

Preview Lab → · Contrast checker → · Palette generator →

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