#9E974A#9E974A

#9E974A is a light, moderate yellow. Relative luminance 0.299; OKLCH L 66.6% C 0.099 H 104.1°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#9E974A
RGBrgb(158, 151, 74)
HSLhsl(55, 36%, 45%)
HSVhsv(55, 53%, 62%)
CMYKcmyk(0%, 4.4%, 53.2%, 38%)
CIE-LABlab(61.57, -8.09, 40.99)
CIE-LCHlch(61.57, 41.78, 101.16°)
OKLaboklab(66.59% -0.0241 0.0964)
OKLCHoklch(66.59% 0.099 104.1)
XYZxyz(26.4040, 29.8976, 10.8572)
Luminance0.2990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E974A #4A519E
analogous
#9E6D4A #9E974A #7B9E4A
triadic
#9E974A #4A9E97 #974A9E
tetradic
#9E974A #4A9E6D #4A519E #9E4A7B
square
#9E974A #4A9E6D #4A519E #9E4A7B
split-complementary
#9E974A #4A7B9E #6D4A9E
monochromatic
#4B4723 #746F36 #9E974A #BAB36B #CDC995

Accessibility & contrast

On white

3.01
#9E974A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#9E974A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E974A
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E974A#FFFFFF#000000##000000
##9E974A1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39243
Deuteranopia (green-blind)
#A5964E
Tritanopia (blue-blind)
#A88E85
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9e974a;
/* rgb */ color: rgb(158, 151, 74);
/* oklch */ color: oklch(66.6% 0.099 104.1);
Tailwind
colors: {
  custom: {
    50: '#bdb57f',
    500: '#9e974a',
    950: '#000000',
  },
}
SCSS
$custom: #9e974a;
$custom-light: #bdb57f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e974a",
  "rgb": {
    "r": 158,
    "g": 151,
    "b": 74
  },
  "hsl": {
    "h": 55,
    "s": 36.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.66587,
    "c": 0.09943,
    "h": 104.1
  },
  "luminance": 0.29897
}

Semantic roles & 50–950 ramp

primary
#9E974A
secondary
#8A8EB9
accent
#65CC5C
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#12110A
muted
#81807C

Preview Lab

Preview with #9E974A

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

Preview Lab → · Contrast checker → · Palette generator →

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