#9D9A19#9D9A19

#9D9A19 is a light, vivid yellow. Relative luminance 0.303; OKLCH L 66.8% C 0.138 H 108.2°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9D9A19
RGBrgb(157, 154, 25)
HSLhsl(59, 73%, 36%)
HSVhsv(59, 84%, 62%)
CMYKcmyk(0%, 1.9%, 84.1%, 38.4%)
CIE-LABlab(61.96, -12.96, 60.80)
CIE-LCHlch(61.96, 62.17, 102.03°)
OKLaboklab(66.76% -0.0429 0.1308)
OKLCHoklch(66.76% 0.138 108.2)
XYZxyz(25.6368, 30.3504, 5.4273)
Luminance0.3035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9A19 #191C9D
analogous
#9D5819 #9D9A19 #5E9D19
triadic
#9D9A19 #199D9A #9A199D
tetradic
#9D9A19 #199D58 #191C9D #9D195E
square
#9D9A19 #199D58 #191C9D #9D195E
split-complementary
#9D9A19 #195E9D #58199D
monochromatic
#333208 #686611 #9D9A19 #D2CE21 #E3DF4E

Accessibility & contrast

On white

2.97
#9D9A19 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#9D9A19 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9A19
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9A19#FFFFFF#000000##000000
##9D9A191.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89300
Deuteranopia (green-blind)
#AA9826
Tritanopia (blue-blind)
#A98F83
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9d9a19;
/* rgb */ color: rgb(157, 154, 25);
/* oklch */ color: oklch(66.8% 0.138 108.2);
Tailwind
colors: {
  custom: {
    50: '#beb765',
    500: '#9d9a19',
    950: '#000000',
  },
}
SCSS
$custom: #9d9a19;
$custom-light: #beb765;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9a19",
  "rgb": {
    "r": 157,
    "g": 154,
    "b": 25
  },
  "hsl": {
    "h": 58.636,
    "s": 72.527,
    "l": 35.686
  },
  "oklch": {
    "l": 0.6676,
    "c": 0.13761,
    "h": 108.2
  },
  "luminance": 0.30349
}

Semantic roles & 50–950 ramp

primary
#9D9A19
secondary
#4D50C5
accent
#3DEF39
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9D9A19

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

Preview Lab → · Contrast checker → · Palette generator →

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