#9D941A#9D941A

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

Color values

HEX#9D941A
RGBrgb(157, 148, 26)
HSLhsl(56, 72%, 36%)
HSVhsv(56, 83%, 62%)
CMYKcmyk(0%, 5.7%, 83.4%, 38.4%)
CIE-LABlab(60.27, -9.75, 59.11)
CIE-LCHlch(60.27, 59.91, 99.37°)
OKLaboklab(65.42% -0.0339 0.1273)
OKLCHoklch(65.42% 0.132 104.9)
XYZxyz(24.6821, 28.4235, 5.1632)
Luminance0.2842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D941A #1A239D
analogous
#9D521A #9D941A #649D1A
triadic
#9D941A #1A9D94 #941A9D
tetradic
#9D941A #1A9D52 #1A239D #9D1A64
square
#9D941A #1A9D52 #1A239D #9D1A64
split-complementary
#9D941A #1A649D #521A9D
monochromatic
#343109 #686311 #9D941A #D2C523 #E2D84F

Accessibility & contrast

On white

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

On black

6.68
#9D941A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D941A
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D941A#FFFFFF#000000##000000
##9D941A1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d941a;
/* rgb */ color: rgb(157, 148, 26);
/* oklch */ color: oklch(65.4% 0.132 104.9);
Tailwind
colors: {
  custom: {
    50: '#beb364',
    500: '#9d941a',
    950: '#000000',
  },
}
SCSS
$custom: #9d941a;
$custom-light: #beb364;
$custom-dark: #000000;
JSON
{
  "hex": "#9d941a",
  "rgb": {
    "r": 157,
    "g": 148,
    "b": 26
  },
  "hsl": {
    "h": 55.878,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.65416,
    "c": 0.13169,
    "h": 104.9
  },
  "luminance": 0.28422
}

Semantic roles & 50–950 ramp

primary
#9D941A
secondary
#4E57C4
accent
#46EE39
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9D941A

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

Preview Lab → · Contrast checker → · Palette generator →

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