#9D8A33#9D8A33

#9D8A33 is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.4% C 0.108 H 96.8°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#9D8A33
RGBrgb(157, 138, 51)
HSLhsl(49, 51%, 41%)
HSVhsv(49, 68%, 62%)
CMYKcmyk(0%, 12.1%, 67.5%, 38.4%)
CIE-LABlab(57.64, -3.19, 47.51)
CIE-LCHlch(57.64, 47.62, 93.84°)
OKLaboklab(63.38% -0.0128 0.1074)
OKLCHoklch(63.38% 0.108 96.8)
XYZxyz(23.5917, 25.5852, 6.8271)
Luminance0.2558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8A33 #33469D
analogous
#9D5533 #9D8A33 #7B9D33
triadic
#9D8A33 #339D8A #8A339D
tetradic
#9D8A33 #339D55 #33469D #9D337B
square
#9D8A33 #339D55 #33469D #9D337B
split-complementary
#9D8A33 #337B9D #55339D
monochromatic
#413915 #6F6124 #9D8A33 #C4AE49 #D3C377

Accessibility & contrast

On white

3.43
#9D8A33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#9D8A33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8A33
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8A33#FFFFFF#000000##000000
##9D8A331.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988728
Deuteranopia (green-blind)
#9D8D38
Tritanopia (blue-blind)
#A98078
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9d8a33;
/* rgb */ color: rgb(157, 138, 51);
/* oklch */ color: oklch(63.4% 0.108 96.8);
Tailwind
colors: {
  custom: {
    50: '#bdab6f',
    500: '#9d8a33',
    950: '#000000',
  },
}
SCSS
$custom: #9d8a33;
$custom-light: #bdab6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8a33",
  "rgb": {
    "r": 157,
    "g": 138,
    "b": 51
  },
  "hsl": {
    "h": 49.245,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.63378,
    "c": 0.10812,
    "h": 96.8
  },
  "luminance": 0.25584
}

Semantic roles & 50–950 ramp

primary
#9D8A33
secondary
#707EBB
accent
#67DA4D
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #9D8A33

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

Preview Lab → · Contrast checker → · Palette generator →

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