#9D993A#9D993A

#9D993A is a light, moderate yellow. Relative luminance 0.303; OKLCH L 66.8% C 0.116 H 106.9°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#9D993A
RGBrgb(157, 153, 58)
HSLhsl(58, 46%, 42%)
HSVhsv(58, 63%, 62%)
CMYKcmyk(0%, 2.5%, 63.1%, 38.4%)
CIE-LABlab(61.88, -10.84, 48.89)
CIE-LCHlch(61.88, 50.08, 102.50°)
OKLaboklab(66.76% -0.0338 0.1114)
OKLCHoklch(66.76% 0.116 106.9)
XYZxyz(26.0605, 30.2569, 8.4696)
Luminance0.3026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D993A #3A3E9D
analogous
#9D683A #9D993A #709D3A
triadic
#9D993A #3A9D99 #993A9D
tetradic
#9D993A #3A9D68 #3A3E9D #9D3A70
square
#9D993A #3A9D68 #3A3E9D #9D3A70
split-complementary
#9D993A #3A709D #683A9D
monochromatic
#444219 #706D29 #9D993A #C0BC54 #D0CD81

Accessibility & contrast

On white

2.98
#9D993A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#9D993A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D993A
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D993A#FFFFFF#000000##000000
##9D993A1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5932F
Deuteranopia (green-blind)
#A79740
Tritanopia (blue-blind)
#A88F85
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9d993a;
/* rgb */ color: rgb(157, 153, 58);
/* oklch */ color: oklch(66.8% 0.116 106.9);
Tailwind
colors: {
  custom: {
    50: '#bdb675',
    500: '#9d993a',
    950: '#000000',
  },
}
SCSS
$custom: #9d993a;
$custom-light: #bdb675;
$custom-dark: #000000;
JSON
{
  "hex": "#9d993a",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 58
  },
  "hsl": {
    "h": 57.576,
    "s": 46.047,
    "l": 42.157
  },
  "oklch": {
    "l": 0.6676,
    "c": 0.1164,
    "h": 106.9
  },
  "luminance": 0.30256
}

Semantic roles & 50–950 ramp

primary
#9D993A
secondary
#797BBA
accent
#57D652
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9D993A

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

Preview Lab → · Contrast checker → · Palette generator →

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