#9A952D#9A952D

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

Color values

HEX#9A952D
RGBrgb(154, 149, 45)
HSLhsl(57, 55%, 39%)
HSVhsv(57, 71%, 60%)
CMYKcmyk(0%, 3.2%, 70.8%, 39.6%)
CIE-LABlab(60.39, -10.84, 52.74)
CIE-LCHlch(60.39, 53.84, 101.61°)
OKLaboklab(65.48% -0.035 0.1175)
OKLCHoklch(65.48% 0.123 106.6)
XYZxyz(24.5485, 28.5552, 6.7007)
Luminance0.2855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A952D #2D329A
analogous
#9A5F2D #9A952D #699A2D
triadic
#9A952D #2D9A95 #952D9A
tetradic
#9A952D #2D9A5F #2D329A #9A2D69
square
#9A952D #2D9A5F #2D329A #9A2D69
split-complementary
#9A952D #2D699A #5F2D9A
monochromatic
#3B3911 #6B671F #9A952D #C7C03E #D4D06D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A952D#FFFFFF#000000##000000
##9A952D1.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)
#A28F1C
Deuteranopia (green-blind)
#A49334
Tritanopia (blue-blind)
#A58B80
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9a952d;
/* rgb */ color: rgb(154, 149, 45);
/* oklch */ color: oklch(65.5% 0.123 106.6);
Tailwind
colors: {
  custom: {
    50: '#bbb36d',
    500: '#9a952d',
    950: '#000000',
  },
}
SCSS
$custom: #9a952d;
$custom-light: #bbb36d;
$custom-dark: #000000;
JSON
{
  "hex": "#9a952d",
  "rgb": {
    "r": 154,
    "g": 149,
    "b": 45
  },
  "hsl": {
    "h": 57.248,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65479,
    "c": 0.12256,
    "h": 106.6
  },
  "luminance": 0.28554
}

Semantic roles & 50–950 ramp

primary
#9A952D
secondary
#676BBB
accent
#50DE4A
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9A952D

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

Preview Lab → · Contrast checker → · Palette generator →

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