#9A952F#9A952F

#9A952F is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.5% C 0.121 H 106.5°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9A952F
RGBrgb(154, 149, 47)
HSLhsl(57, 53%, 39%)
HSVhsv(57, 69%, 60%)
CMYKcmyk(0%, 3.2%, 69.5%, 39.6%)
CIE-LABlab(60.40, -10.73, 51.96)
CIE-LCHlch(60.40, 53.05, 101.66°)
OKLaboklab(65.49% -0.0345 0.1162)
OKLCHoklch(65.49% 0.121 106.5)
XYZxyz(24.5879, 28.5710, 6.9083)
Luminance0.2857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A952F #2F349A
analogous
#9A602F #9A952F #6A9A2F
triadic
#9A952F #2F9A95 #952F9A
tetradic
#9A952F #2F9A60 #2F349A #9A2F6A
square
#9A952F #2F9A60 #2F349A #9A2F6A
split-complementary
#9A952F #2F6A9A #602F9A
monochromatic
#3C3A12 #6B6821 #9A952F #C5BF41 #D3CF70

Accessibility & contrast

On white

3.13
#9A952F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#9A952F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A952F
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A952F#FFFFFF#000000##000000
##9A952F1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F20
Deuteranopia (green-blind)
#A49436
Tritanopia (blue-blind)
#A58B81
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9a952f;
/* rgb */ color: rgb(154, 149, 47);
/* oklch */ color: oklch(65.5% 0.121 106.5);
Tailwind
colors: {
  custom: {
    50: '#bbb36e',
    500: '#9a952f',
    950: '#000000',
  },
}
SCSS
$custom: #9a952f;
$custom-light: #bbb36e;
$custom-dark: #000000;
JSON
{
  "hex": "#9a952f",
  "rgb": {
    "r": 154,
    "g": 149,
    "b": 47
  },
  "hsl": {
    "h": 57.196,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65494,
    "c": 0.12116,
    "h": 106.5
  },
  "luminance": 0.2857
}

Semantic roles & 50–950 ramp

primary
#9A952F
secondary
#6A6EBB
accent
#52DD4B
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9A952F

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

Preview Lab → · Contrast checker → · Palette generator →

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