#9A8A29#9A8A29

#9A8A29 is a light, moderate yellow. Relative luminance 0.252; OKLCH L 63.0% C 0.115 H 99.6°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9A8A29
RGBrgb(154, 138, 41)
HSLhsl(52, 58%, 38%)
HSVhsv(52, 73%, 60%)
CMYKcmyk(0%, 10.4%, 73.4%, 39.6%)
CIE-LABlab(57.28, -5.11, 51.26)
CIE-LCHlch(57.28, 51.51, 95.69°)
OKLaboklab(63% -0.0193 0.1136)
OKLCHoklch(63% 0.115 99.6)
XYZxyz(22.8162, 25.2082, 5.7612)
Luminance0.2521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8A29 #29399A
analogous
#9A5129 #9A8A29 #729A29
triadic
#9A8A29 #299A8A #8A299A
tetradic
#9A8A29 #299A51 #29399A #9A2972
square
#9A8A29 #299A51 #29399A #9A2972
split-complementary
#9A8A29 #29729A #51299A
monochromatic
#39330F #6A5F1C #9A8A29 #CAB537 #D7C767

Accessibility & contrast

On white

3.48
#9A8A29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#9A8A29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8A29
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8A29#FFFFFF#000000##000000
##9A8A291.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988619
Deuteranopia (green-blind)
#9C8C2F
Tritanopia (blue-blind)
#A68077
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9a8a29;
/* rgb */ color: rgb(154, 138, 41);
/* oklch */ color: oklch(63.0% 0.115 99.6);
Tailwind
colors: {
  custom: {
    50: '#bbab6a',
    500: '#9a8a29',
    950: '#000000',
  },
}
SCSS
$custom: #9a8a29;
$custom-light: #bbab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8a29",
  "rgb": {
    "r": 154,
    "g": 138,
    "b": 41
  },
  "hsl": {
    "h": 51.504,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.62998,
    "c": 0.11519,
    "h": 99.6
  },
  "luminance": 0.25207
}

Semantic roles & 50–950 ramp

primary
#9A8A29
secondary
#626FBD
accent
#5DE147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9A8A29

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

Preview Lab → · Contrast checker → · Palette generator →

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