#9D8A29#9D8A29

#9D8A29 is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.3% C 0.115 H 97.8°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9D8A29
RGBrgb(157, 138, 41)
HSLhsl(50, 59%, 39%)
HSVhsv(50, 74%, 62%)
CMYKcmyk(0%, 12.1%, 73.9%, 38.4%)
CIE-LABlab(57.57, -3.74, 51.63)
CIE-LCHlch(57.57, 51.77, 94.15°)
OKLaboklab(63.29% -0.0156 0.1143)
OKLCHoklch(63.29% 0.115 97.8)
XYZxyz(23.3945, 25.5063, 5.7884)
Luminance0.2550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8A29 #293C9D
analogous
#9D5029 #9D8A29 #769D29
triadic
#9D8A29 #299D8A #8A299D
tetradic
#9D8A29 #299D50 #293C9D #9D2976
square
#9D8A29 #299D50 #293C9D #9D2976
split-complementary
#9D8A29 #29769D #50299D
monochromatic
#3C3510 #6C5F1C #9D8A29 #CBB338 #D8C669

Accessibility & contrast

On white

3.44
#9D8A29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#9D8A29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8A29
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8A29#FFFFFF#000000##000000
##9D8A291.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#988719
Deuteranopia (green-blind)
#9D8D2F
Tritanopia (blue-blind)
#AA7F77
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9d8a29;
/* rgb */ color: rgb(157, 138, 41);
/* oklch */ color: oklch(63.3% 0.115 97.8);
Tailwind
colors: {
  custom: {
    50: '#bdab6a',
    500: '#9d8a29',
    950: '#000000',
  },
}
SCSS
$custom: #9d8a29;
$custom-light: #bdab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8a29",
  "rgb": {
    "r": 157,
    "g": 138,
    "b": 41
  },
  "hsl": {
    "h": 50.172,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63294,
    "c": 0.1153,
    "h": 97.8
  },
  "luminance": 0.25505
}

Semantic roles & 50–950 ramp

primary
#9D8A29
secondary
#6473BE
accent
#60E246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9D8A29

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

Preview Lab → · Contrast checker → · Palette generator →

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