#9D992B#9D992B

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

Color values

HEX#9D992B
RGBrgb(157, 153, 43)
HSLhsl(58, 57%, 39%)
HSVhsv(58, 73%, 62%)
CMYKcmyk(0%, 2.5%, 72.6%, 38.4%)
CIE-LABlab(61.76, -11.72, 54.94)
CIE-LCHlch(61.76, 56.18, 102.05°)
OKLaboklab(66.63% -0.0379 0.1216)
OKLCHoklch(66.63% 0.127 107.3)
XYZxyz(25.7329, 30.1259, 6.7444)
Luminance0.3013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D992B #2B2F9D
analogous
#9D602B #9D992B #689D2B
triadic
#9D992B #2B9D99 #992B9D
tetradic
#9D992B #2B9D60 #2B2F9D #9D2B68
square
#9D992B #2B9D60 #2B2F9D #9D2B68
split-complementary
#9D992B #2B689D #602B9D
monochromatic
#3D3B11 #6D6A1E #9D992B #CAC53C #D7D36C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D992B#FFFFFF#000000##000000
##9D992B1.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)
#A69317
Deuteranopia (green-blind)
#A89733
Tritanopia (blue-blind)
#A98F84
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9d992b;
/* rgb */ color: rgb(157, 153, 43);
/* oklch */ color: oklch(66.6% 0.127 107.3);
Tailwind
colors: {
  custom: {
    50: '#bdb66c',
    500: '#9d992b',
    950: '#000000',
  },
}
SCSS
$custom: #9d992b;
$custom-light: #bdb66c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d992b",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 43
  },
  "hsl": {
    "h": 57.895,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.66634,
    "c": 0.1274,
    "h": 107.3
  },
  "luminance": 0.30125
}

Semantic roles & 50–950 ramp

primary
#9D992B
secondary
#6669BD
accent
#4DE048
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9D992B

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

Preview Lab → · Contrast checker → · Palette generator →

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