#9D992D#9D992D

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

Color values

HEX#9D992D
RGBrgb(157, 153, 45)
HSLhsl(58, 55%, 40%)
HSVhsv(58, 71%, 62%)
CMYKcmyk(0%, 2.5%, 71.3%, 38.4%)
CIE-LABlab(61.78, -11.62, 54.20)
CIE-LCHlch(61.78, 55.43, 102.10°)
OKLaboklab(66.65% -0.0374 0.1204)
OKLCHoklch(66.65% 0.126 107.3)
XYZxyz(25.7705, 30.1409, 6.9424)
Luminance0.3014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D992D #2D319D
analogous
#9D612D #9D992D #699D2D
triadic
#9D992D #2D9D99 #992D9D
tetradic
#9D992D #2D9D61 #2D319D #9D2D69
square
#9D992D #2D9D61 #2D319D #9D2D69
split-complementary
#9D992D #2D699D #612D9D
monochromatic
#3E3C12 #6D6B1F #9D992D #C8C33F #D6D26F

Accessibility & contrast

On white

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

On black

7.03
#9D992D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D992D
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D992D#FFFFFF#000000##000000
##9D992D1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d992d;
/* rgb */ color: rgb(157, 153, 45);
/* oklch */ color: oklch(66.6% 0.126 107.3);
Tailwind
colors: {
  custom: {
    50: '#bdb66d',
    500: '#9d992d',
    950: '#000000',
  },
}
SCSS
$custom: #9d992d;
$custom-light: #bdb66d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d992d",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 45
  },
  "hsl": {
    "h": 57.857,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.66649,
    "c": 0.12609,
    "h": 107.3
  },
  "luminance": 0.3014
}

Semantic roles & 50–950 ramp

primary
#9D992D
secondary
#696CBD
accent
#4EDF49
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9D992D

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

Preview Lab → · Contrast checker → · Palette generator →

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