#9D952F#9D952F

#9D952F is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.8% C 0.121 H 104.8°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9D952F
RGBrgb(157, 149, 47)
HSLhsl(56, 54%, 40%)
HSVhsv(56, 70%, 62%)
CMYKcmyk(0%, 5.1%, 70.1%, 38.4%)
CIE-LABlab(60.67, -9.39, 52.31)
CIE-LCHlch(60.67, 53.15, 100.18°)
OKLaboklab(65.77% -0.0309 0.1168)
OKLCHoklch(65.77% 0.121 104.8)
XYZxyz(25.1662, 28.8692, 6.9354)
Luminance0.2887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D952F #2F379D
analogous
#9D5E2F #9D952F #6E9D2F
triadic
#9D952F #2F9D95 #952F9D
tetradic
#9D952F #2F9D5E #2F379D #9D2F6E
square
#9D952F #2F9D5E #2F379D #9D2F6E
split-complementary
#9D952F #2F6E9D #5E2F9D
monochromatic
#3F3C13 #6E6821 #9D952F #C7BD43 #D5CD72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D952F#FFFFFF#000000##000000
##9D952F1.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)
#A29020
Deuteranopia (green-blind)
#A59436
Tritanopia (blue-blind)
#A98B81
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9d952f;
/* rgb */ color: rgb(157, 149, 47);
/* oklch */ color: oklch(65.8% 0.121 104.8);
Tailwind
colors: {
  custom: {
    50: '#bdb36e',
    500: '#9d952f',
    950: '#000000',
  },
}
SCSS
$custom: #9d952f;
$custom-light: #bdb36e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d952f",
  "rgb": {
    "r": 157,
    "g": 149,
    "b": 47
  },
  "hsl": {
    "h": 55.636,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.65769,
    "c": 0.12082,
    "h": 104.8
  },
  "luminance": 0.28868
}

Semantic roles & 50–950 ramp

primary
#9D952F
secondary
#6B71BC
accent
#55DD4B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9D952F

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

Preview Lab → · Contrast checker → · Palette generator →

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