#9D952A#9D952A

#9D952A is a light, vivid yellow. Relative luminance 0.288; OKLCH L 65.7% C 0.124 H 105.0°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9D952A
RGBrgb(157, 149, 42)
HSLhsl(56, 58%, 39%)
HSVhsv(56, 73%, 62%)
CMYKcmyk(0%, 5.1%, 73.2%, 38.4%)
CIE-LABlab(60.63, -9.65, 54.22)
CIE-LCHlch(60.63, 55.08, 100.09°)
OKLaboklab(65.73% -0.0322 0.1199)
OKLCHoklch(65.73% 0.124 105)
XYZxyz(25.0710, 28.8311, 6.4344)
Luminance0.2883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D952A #2A329D
analogous
#9D5C2A #9D952A #6C9D2A
triadic
#9D952A #2A9D95 #952A9D
tetradic
#9D952A #2A9D5C #2A329D #9D2A6C
square
#9D952A #2A9D5C #2A329D #9D2A6C
split-complementary
#9D952A #2A6C9D #5C2A9D
monochromatic
#3C3910 #6D671D #9D952A #CAC03A #D7D06A

Accessibility & contrast

On white

3.10
#9D952A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#9D952A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D952A
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D952A#FFFFFF#000000##000000
##9D952A1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29017
Deuteranopia (green-blind)
#A59432
Tritanopia (blue-blind)
#A98B80
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9d952a;
/* rgb */ color: rgb(157, 149, 42);
/* oklch */ color: oklch(65.7% 0.124 105.0);
Tailwind
colors: {
  custom: {
    50: '#bdb36b',
    500: '#9d952a',
    950: '#000000',
  },
}
SCSS
$custom: #9d952a;
$custom-light: #bdb36b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d952a",
  "rgb": {
    "r": 157,
    "g": 149,
    "b": 42
  },
  "hsl": {
    "h": 55.826,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65732,
    "c": 0.12416,
    "h": 105
  },
  "luminance": 0.2883
}

Semantic roles & 50–950 ramp

primary
#9D952A
secondary
#656BBE
accent
#52E147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9D952A

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

Preview Lab → · Contrast checker → · Palette generator →

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