#9D952E#9D952E

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

Color values

HEX#9D952E
RGBrgb(157, 149, 46)
HSLhsl(56, 55%, 40%)
HSVhsv(56, 71%, 62%)
CMYKcmyk(0%, 5.1%, 70.7%, 38.4%)
CIE-LABlab(60.66, -9.44, 52.70)
CIE-LCHlch(60.66, 53.54, 100.16°)
OKLaboklab(65.76% -0.0312 0.1175)
OKLCHoklch(65.76% 0.122 104.9)
XYZxyz(25.1462, 28.8612, 6.8304)
Luminance0.2886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D952E #2E369D
analogous
#9D5E2E #9D952E #6D9D2E
triadic
#9D952E #2E9D95 #952E9D
tetradic
#9D952E #2E9D5E #2E369D #9D2E6D
square
#9D952E #2E9D5E #2E369D #9D2E6D
split-complementary
#9D952E #2E6D9D #5E2E9D
monochromatic
#3E3B12 #6E6820 #9D952E #C7BE41 #D5CE70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D952E#FFFFFF#000000##000000
##9D952E1.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)
#A2901E
Deuteranopia (green-blind)
#A59435
Tritanopia (blue-blind)
#A98B80
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9d952e;
/* rgb */ color: rgb(157, 149, 46);
/* oklch */ color: oklch(65.8% 0.122 104.9);
Tailwind
colors: {
  custom: {
    50: '#bdb36d',
    500: '#9d952e',
    950: '#000000',
  },
}
SCSS
$custom: #9d952e;
$custom-light: #bdb36d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d952e",
  "rgb": {
    "r": 157,
    "g": 149,
    "b": 46
  },
  "hsl": {
    "h": 55.676,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.65761,
    "c": 0.12151,
    "h": 104.9
  },
  "luminance": 0.2886
}

Semantic roles & 50–950 ramp

primary
#9D952E
secondary
#6A70BD
accent
#54DE4A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9D952E

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

Preview Lab → · Contrast checker → · Palette generator →

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