#9D993D#9D993D

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

Color values

HEX#9D993D
RGBrgb(157, 153, 61)
HSLhsl(58, 44%, 43%)
HSVhsv(58, 61%, 62%)
CMYKcmyk(0%, 2.5%, 61.1%, 38.4%)
CIE-LABlab(61.90, -10.63, 47.57)
CIE-LCHlch(61.90, 48.74, 102.60°)
OKLaboklab(66.79% -0.0328 0.109)
OKLCHoklch(66.79% 0.114 106.8)
XYZxyz(26.1390, 30.2883, 8.8833)
Luminance0.3029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D993D #3D419D
analogous
#9D693D #9D993D #719D3D
triadic
#9D993D #3D9D99 #993D9D
tetradic
#9D993D #3D9D69 #3D419D #9D3D71
square
#9D993D #3D9D69 #3D419D #9D3D71
split-complementary
#9D993D #3D719D #693D9D
monochromatic
#45431B #716E2C #9D993D #BEBA59 #D0CC85

Accessibility & contrast

On white

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

On black

7.06
#9D993D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D993D
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D993D#FFFFFF#000000##000000
##9D993D1.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59332
Deuteranopia (green-blind)
#A79742
Tritanopia (blue-blind)
#A89085
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9d993d;
/* rgb */ color: rgb(157, 153, 61);
/* oklch */ color: oklch(66.8% 0.114 106.8);
Tailwind
colors: {
  custom: {
    50: '#bcb676',
    500: '#9d993d',
    950: '#000000',
  },
}
SCSS
$custom: #9d993d;
$custom-light: #bcb676;
$custom-dark: #000000;
JSON
{
  "hex": "#9d993d",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 61
  },
  "hsl": {
    "h": 57.5,
    "s": 44.037,
    "l": 42.745
  },
  "oklch": {
    "l": 0.6679,
    "c": 0.11386,
    "h": 106.8
  },
  "luminance": 0.30287
}

Semantic roles & 50–950 ramp

primary
#9D993D
secondary
#7C7FBA
accent
#59D454
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121109
muted
#81807B

Preview Lab

Preview with #9D993D

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

Preview Lab → · Contrast checker → · Palette generator →

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