#9D941C#9D941C

#9D941C is a light, vivid yellow. Relative luminance 0.284; OKLCH L 65.4% C 0.131 H 104.9°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9D941C
RGBrgb(157, 148, 28)
HSLhsl(56, 70%, 36%)
HSVhsv(56, 82%, 62%)
CMYKcmyk(0%, 5.7%, 82.2%, 38.4%)
CIE-LABlab(60.28, -9.69, 58.56)
CIE-LCHlch(60.28, 59.35, 99.39°)
OKLaboklab(65.43% -0.0336 0.1265)
OKLCHoklch(65.43% 0.131 104.9)
XYZxyz(24.7053, 28.4328, 5.2851)
Luminance0.2843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D941C #1C259D
analogous
#9D541C #9D941C #669D1C
triadic
#9D941C #1C9D94 #941C9D
tetradic
#9D941C #1C9D54 #1C259D #9D1C66
square
#9D941C #1C9D54 #1C259D #9D1C66
split-complementary
#9D941C #1C669D #541C9D
monochromatic
#353209 #696313 #9D941C #D1C525 #E0D653

Accessibility & contrast

On white

3.14
#9D941C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#9D941C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D941C
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D941C#FFFFFF#000000##000000
##9D941C1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#A59427
Tritanopia (blue-blind)
#A9897E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9d941c;
/* rgb */ color: rgb(157, 148, 28);
/* oklch */ color: oklch(65.4% 0.131 104.9);
Tailwind
colors: {
  custom: {
    50: '#beb365',
    500: '#9d941c',
    950: '#000000',
  },
}
SCSS
$custom: #9d941c;
$custom-light: #beb365;
$custom-dark: #000000;
JSON
{
  "hex": "#9d941c",
  "rgb": {
    "r": 157,
    "g": 148,
    "b": 28
  },
  "hsl": {
    "h": 55.814,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.65426,
    "c": 0.13083,
    "h": 104.9
  },
  "luminance": 0.28432
}

Semantic roles & 50–950 ramp

primary
#9D941C
secondary
#5159C3
accent
#48ED3B
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9D941C

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

Preview Lab → · Contrast checker → · Palette generator →

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