#9D931E#9D931E

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

Color values

HEX#9D931E
RGBrgb(157, 147, 30)
HSLhsl(55, 68%, 37%)
HSVhsv(55, 81%, 62%)
CMYKcmyk(0%, 6.4%, 80.9%, 38.4%)
CIE-LABlab(60.01, -9.09, 57.73)
CIE-LCHlch(60.01, 58.44, 98.94°)
OKLaboklab(65.21% -0.0317 0.1251)
OKLCHoklch(65.21% 0.129 104.2)
XYZxyz(24.5738, 28.1303, 5.3633)
Luminance0.2813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D931E #1E289D
analogous
#9D541E #9D931E #689D1E
triadic
#9D931E #1E9D93 #931E9D
tetradic
#9D931E #1E9D54 #1E289D #9D1E68
square
#9D931E #1E9D54 #1E289D #9D1E68
split-complementary
#9D931E #1E689D #541E9D
monochromatic
#36330A #6A6314 #9D931E #D0C328 #DFD457

Accessibility & contrast

On white

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

On black

6.63
#9D931E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D931E
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D931E#FFFFFF#000000##000000
##9D931E1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d931e;
/* rgb */ color: rgb(157, 147, 30);
/* oklch */ color: oklch(65.2% 0.129 104.2);
Tailwind
colors: {
  custom: {
    50: '#beb265',
    500: '#9d931e',
    950: '#000000',
  },
}
SCSS
$custom: #9d931e;
$custom-light: #beb265;
$custom-dark: #000000;
JSON
{
  "hex": "#9d931e",
  "rgb": {
    "r": 157,
    "g": 147,
    "b": 30
  },
  "hsl": {
    "h": 55.276,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.65212,
    "c": 0.12902,
    "h": 104.2
  },
  "luminance": 0.28129
}

Semantic roles & 50–950 ramp

primary
#9D931E
secondary
#545DC2
accent
#4BEB3D
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9D931E

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

Preview Lab → · Contrast checker → · Palette generator →

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