#9D951C#9D951C

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

Color values

HEX#9D951C
RGBrgb(157, 149, 28)
HSLhsl(56, 70%, 36%)
HSVhsv(56, 82%, 62%)
CMYKcmyk(0%, 5.1%, 82.2%, 38.4%)
CIE-LABlab(60.56, -10.22, 58.80)
CIE-LCHlch(60.56, 59.68, 99.86°)
OKLaboklab(65.65% -0.035 0.127)
OKLCHoklch(65.65% 0.132 105.4)
XYZxyz(24.8628, 28.7478, 5.3376)
Luminance0.2875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D951C #1C249D
analogous
#9D551C #9D951C #659D1C
triadic
#9D951C #1C9D95 #951C9D
tetradic
#9D951C #1C9D55 #1C249D #9D1C65
square
#9D951C #1C9D55 #1C249D #9D1C65
split-complementary
#9D951C #1C659D #551C9D
monochromatic
#353209 #696413 #9D951C #D1C625 #E0D853

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D951C#FFFFFF#000000##000000
##9D951C1.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)
#A69427
Tritanopia (blue-blind)
#A98A7F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9d951c;
/* rgb */ color: rgb(157, 149, 28);
/* oklch */ color: oklch(65.6% 0.132 105.4);
Tailwind
colors: {
  custom: {
    50: '#beb365',
    500: '#9d951c',
    950: '#000000',
  },
}
SCSS
$custom: #9d951c;
$custom-light: #beb365;
$custom-dark: #000000;
JSON
{
  "hex": "#9d951c",
  "rgb": {
    "r": 157,
    "g": 149,
    "b": 28
  },
  "hsl": {
    "h": 56.279,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.65649,
    "c": 0.13173,
    "h": 105.4
  },
  "luminance": 0.28747
}

Semantic roles & 50–950 ramp

primary
#9D951C
secondary
#5159C3
accent
#46ED3B
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9D951C

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

Preview Lab → · Contrast checker → · Palette generator →

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