#9D951A#9D951A

#9D951A is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.6% C 0.133 H 105.5°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9D951A
RGBrgb(157, 149, 26)
HSLhsl(56, 72%, 36%)
HSVhsv(56, 83%, 62%)
CMYKcmyk(0%, 5.1%, 83.4%, 38.4%)
CIE-LABlab(60.55, -10.29, 59.35)
CIE-LCHlch(60.55, 60.23, 99.83°)
OKLaboklab(65.64% -0.0354 0.1278)
OKLCHoklch(65.64% 0.133 105.5)
XYZxyz(24.8396, 28.7386, 5.2158)
Luminance0.2874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D951A #1A229D
analogous
#9D531A #9D951A #639D1A
triadic
#9D951A #1A9D95 #951A9D
tetradic
#9D951A #1A9D53 #1A229D #9D1A63
square
#9D951A #1A9D53 #1A229D #9D1A63
split-complementary
#9D951A #1A639D #531A9D
monochromatic
#343109 #686311 #9D951A #D2C723 #E2D94F

Accessibility & contrast

On white

3.11
#9D951A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#9D951A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D951A
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D951A#FFFFFF#000000##000000
##9D951A1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#A69425
Tritanopia (blue-blind)
#A98A7F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9d951a;
/* rgb */ color: rgb(157, 149, 26);
/* oklch */ color: oklch(65.6% 0.133 105.5);
Tailwind
colors: {
  custom: {
    50: '#beb364',
    500: '#9d951a',
    950: '#000000',
  },
}
SCSS
$custom: #9d951a;
$custom-light: #beb364;
$custom-dark: #000000;
JSON
{
  "hex": "#9d951a",
  "rgb": {
    "r": 157,
    "g": 149,
    "b": 26
  },
  "hsl": {
    "h": 56.336,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.6564,
    "c": 0.13258,
    "h": 105.5
  },
  "luminance": 0.28738
}

Semantic roles & 50–950 ramp

primary
#9D951A
secondary
#4E56C4
accent
#45EE39
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9D951A

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

Preview Lab → · Contrast checker → · Palette generator →

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