#9A9529#9A9529

#9A9529 is a light, vivid yellow. Relative luminance 0.285; OKLCH L 65.4% C 0.125 H 106.7°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9A9529
RGBrgb(154, 149, 41)
HSLhsl(57, 58%, 38%)
HSVhsv(57, 73%, 60%)
CMYKcmyk(0%, 3.2%, 73.4%, 39.6%)
CIE-LABlab(60.36, -11.04, 54.24)
CIE-LCHlch(60.36, 55.36, 101.50°)
OKLaboklab(65.45% -0.036 0.1199)
OKLCHoklch(65.45% 0.125 106.7)
XYZxyz(24.4751, 28.5259, 6.3142)
Luminance0.2853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9529 #292E9A
analogous
#9A5C29 #9A9529 #669A29
triadic
#9A9529 #299A95 #95299A
tetradic
#9A9529 #299A5C #292E9A #9A2966
square
#9A9529 #299A5C #292E9A #9A2966
split-complementary
#9A9529 #29669A #5C299A
monochromatic
#39370F #6A661C #9A9529 #CAC337 #D7D267

Accessibility & contrast

On white

3.13
#9A9529 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#9A9529 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A9529
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A9529#FFFFFF#000000##000000
##9A95291.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F15
Deuteranopia (green-blind)
#A49331
Tritanopia (blue-blind)
#A58B80
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9a9529;
/* rgb */ color: rgb(154, 149, 41);
/* oklch */ color: oklch(65.4% 0.125 106.7);
Tailwind
colors: {
  custom: {
    50: '#bbb36b',
    500: '#9a9529',
    950: '#000000',
  },
}
SCSS
$custom: #9a9529;
$custom-light: #bbb36b;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9529",
  "rgb": {
    "r": 154,
    "g": 149,
    "b": 41
  },
  "hsl": {
    "h": 57.345,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.65449,
    "c": 0.12518,
    "h": 106.7
  },
  "luminance": 0.28525
}

Semantic roles & 50–950 ramp

primary
#9A9529
secondary
#6266BD
accent
#4DE147
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9A9529

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

Preview Lab → · Contrast checker → · Palette generator →

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