#9D931C#9D931C

#9D931C is a light, vivid yellow. Relative luminance 0.281; OKLCH L 65.2% C 0.130 H 104.3°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#9D931C
RGBrgb(157, 147, 28)
HSLhsl(55, 70%, 36%)
HSVhsv(55, 82%, 62%)
CMYKcmyk(0%, 6.4%, 82.2%, 38.4%)
CIE-LABlab(60.00, -9.15, 58.31)
CIE-LCHlch(60.00, 59.03, 98.92°)
OKLaboklab(65.2% -0.032 0.1259)
OKLCHoklch(65.2% 0.13 104.3)
XYZxyz(24.5491, 28.1204, 5.2331)
Luminance0.2812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D931C #1C269D
analogous
#9D531C #9D931C #679D1C
triadic
#9D931C #1C9D93 #931C9D
tetradic
#9D931C #1C9D53 #1C269D #9D1C67
square
#9D931C #1C9D53 #1C269D #9D1C67
split-complementary
#9D931C #1C679D #531C9D
monochromatic
#353209 #696213 #9D931C #D1C425 #E0D553

Accessibility & contrast

On white

3.17
#9D931C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#9D931C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D931C
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D931C#FFFFFF#000000##000000
##9D931C1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#A49326
Tritanopia (blue-blind)
#A9887D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9d931c;
/* rgb */ color: rgb(157, 147, 28);
/* oklch */ color: oklch(65.2% 0.130 104.3);
Tailwind
colors: {
  custom: {
    50: '#beb265',
    500: '#9d931c',
    950: '#000000',
  },
}
SCSS
$custom: #9d931c;
$custom-light: #beb265;
$custom-dark: #000000;
JSON
{
  "hex": "#9d931c",
  "rgb": {
    "r": 157,
    "g": 147,
    "b": 28
  },
  "hsl": {
    "h": 55.349,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.65202,
    "c": 0.12994,
    "h": 104.3
  },
  "luminance": 0.28119
}

Semantic roles & 50–950 ramp

primary
#9D931C
secondary
#515AC3
accent
#49ED3B
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9D931C

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

Preview Lab → · Contrast checker → · Palette generator →

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