#9D992A#9D992A

#9D992A is a light, vivid yellow. Relative luminance 0.301; OKLCH L 66.6% C 0.128 H 107.3°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9D992A
RGBrgb(157, 153, 42)
HSLhsl(58, 58%, 39%)
HSVhsv(58, 73%, 62%)
CMYKcmyk(0%, 2.5%, 73.2%, 38.4%)
CIE-LABlab(61.76, -11.77, 55.30)
CIE-LCHlch(61.76, 56.54, 102.02°)
OKLaboklab(66.63% -0.0381 0.1222)
OKLCHoklch(66.63% 0.128 107.3)
XYZxyz(25.7148, 30.1186, 6.6490)
Luminance0.3012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D992A #2A2E9D
analogous
#9D602A #9D992A #689D2A
triadic
#9D992A #2A9D99 #992A9D
tetradic
#9D992A #2A9D60 #2A2E9D #9D2A68
square
#9D992A #2A9D60 #2A2E9D #9D2A68
split-complementary
#9D992A #2A689D #602A9D
monochromatic
#3C3B10 #6D6A1D #9D992A #CAC53A #D7D36A

Accessibility & contrast

On white

2.99
#9D992A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#9D992A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D992A
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D992A#FFFFFF#000000##000000
##9D992A1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69315
Deuteranopia (green-blind)
#A89732
Tritanopia (blue-blind)
#A98F84
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9d992a;
/* rgb */ color: rgb(157, 153, 42);
/* oklch */ color: oklch(66.6% 0.128 107.3);
Tailwind
colors: {
  custom: {
    50: '#bdb66c',
    500: '#9d992a',
    950: '#000000',
  },
}
SCSS
$custom: #9d992a;
$custom-light: #bdb66c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d992a",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 42
  },
  "hsl": {
    "h": 57.913,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.66627,
    "c": 0.12802,
    "h": 107.3
  },
  "luminance": 0.30118
}

Semantic roles & 50–950 ramp

primary
#9D992A
secondary
#6568BE
accent
#4CE147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9D992A

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

Preview Lab → · Contrast checker → · Palette generator →

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