#9A931D#9A931D

#9A931D is a light, vivid yellow. Relative luminance 0.278; OKLCH L 64.9% C 0.130 H 105.9°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#9A931D
RGBrgb(154, 147, 29)
HSLhsl(57, 68%, 36%)
HSVhsv(57, 81%, 60%)
CMYKcmyk(0%, 4.5%, 81.2%, 39.6%)
CIE-LABlab(59.73, -10.48, 57.69)
CIE-LCHlch(59.73, 58.63, 100.29°)
OKLaboklab(64.93% -0.0355 0.1249)
OKLCHoklch(64.93% 0.13 105.9)
XYZxyz(23.9830, 27.8271, 5.2700)
Luminance0.2783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A931D #1D249A
analogous
#9A541D #9A931D #629A1D
triadic
#9A931D #1D9A93 #931D9A
tetradic
#9A931D #1D9A54 #1D249A #9A1D62
square
#9A931D #1D9A54 #1D249A #9A1D62
split-complementary
#9A931D #1D629A #541D9A
monochromatic
#33310A #666213 #9A931D #CEC427 #DFD753

Accessibility & contrast

On white

3.20
#9A931D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#9A931D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A931D
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A931D#FFFFFF#000000##000000
##9A931D1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#A39227
Tritanopia (blue-blind)
#A6887E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9a931d;
/* rgb */ color: rgb(154, 147, 29);
/* oklch */ color: oklch(64.9% 0.130 105.9);
Tailwind
colors: {
  custom: {
    50: '#bcb265',
    500: '#9a931d',
    950: '#000000',
  },
}
SCSS
$custom: #9a931d;
$custom-light: #bcb265;
$custom-dark: #000000;
JSON
{
  "hex": "#9a931d",
  "rgb": {
    "r": 154,
    "g": 147,
    "b": 29
  },
  "hsl": {
    "h": 56.64,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.64928,
    "c": 0.12986,
    "h": 105.9
  },
  "luminance": 0.27826
}

Semantic roles & 50–950 ramp

primary
#9A931D
secondary
#5157C2
accent
#46EB3D
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9A931D

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

Preview Lab → · Contrast checker → · Palette generator →

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