#9D9232#9D9232

#9D9232 is a light, moderate yellow. Relative luminance 0.280; OKLCH L 65.1% C 0.116 H 102.7°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9D9232
RGBrgb(157, 146, 50)
HSLhsl(54, 52%, 41%)
HSVhsv(54, 68%, 62%)
CMYKcmyk(0%, 7%, 68.2%, 38.4%)
CIE-LABlab(59.85, -7.61, 50.24)
CIE-LCHlch(59.85, 50.81, 98.61°)
OKLaboklab(65.13% -0.0255 0.113)
OKLCHoklch(65.13% 0.116 102.7)
XYZxyz(24.7603, 27.9572, 7.1090)
Luminance0.2796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9232 #323D9D
analogous
#9D5C32 #9D9232 #729D32
triadic
#9D9232 #329D92 #92329D
tetradic
#9D9232 #329D5C #323D9D #9D3272
square
#9D9232 #329D5C #323D9D #9D3272
split-complementary
#9D9232 #32729D #5C329D
monochromatic
#403C14 #6F6723 #9D9232 #C5B848 #D3CA76

Accessibility & contrast

On white

3.19
#9D9232 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#9D9232 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9232
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9232#FFFFFF#000000##000000
##9D92321.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D25
Deuteranopia (green-blind)
#A39238
Tritanopia (blue-blind)
#A9887E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9d9232;
/* rgb */ color: rgb(157, 146, 50);
/* oklch */ color: oklch(65.1% 0.116 102.7);
Tailwind
colors: {
  custom: {
    50: '#bdb16f',
    500: '#9d9232',
    950: '#000000',
  },
}
SCSS
$custom: #9d9232;
$custom-light: #bdb16f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9232",
  "rgb": {
    "r": 157,
    "g": 146,
    "b": 50
  },
  "hsl": {
    "h": 53.832,
    "s": 51.691,
    "l": 40.588
  },
  "oklch": {
    "l": 0.65127,
    "c": 0.11581,
    "h": 102.7
  },
  "luminance": 0.27956
}

Semantic roles & 50–950 ramp

primary
#9D9232
secondary
#6F77BC
accent
#5BDB4D
background
#FCFAF6
surface
#F8F5EC
border
#D1CFC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #9D9232

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

Preview Lab → · Contrast checker → · Palette generator →

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