#9D993F#9D993F

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

Color values

HEX#9D993F
RGBrgb(157, 153, 63)
HSLhsl(57, 43%, 43%)
HSVhsv(57, 60%, 62%)
CMYKcmyk(0%, 2.5%, 59.9%, 38.4%)
CIE-LABlab(61.92, -10.49, 46.67)
CIE-LCHlch(61.92, 47.84, 102.66°)
OKLaboklab(66.81% -0.0322 0.1074)
OKLCHoklch(66.81% 0.112 106.7)
XYZxyz(26.1939, 30.3103, 9.1723)
Luminance0.3031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D993F #3F439D
analogous
#9D6A3F #9D993F #729D3F
triadic
#9D993F #3F9D99 #993F9D
tetradic
#9D993F #3F9D6A #3F439D #9D3F72
square
#9D993F #3F9D6A #3F439D #9D3F72
split-complementary
#9D993F #3F729D #6A3F9D
monochromatic
#46441C #716E2D #9D993F #BDB95C #CFCC87

Accessibility & contrast

On white

2.97
#9D993F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D993F#FFFFFF#000000##000000
##9D993F1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59435
Deuteranopia (green-blind)
#A79744
Tritanopia (blue-blind)
#A89086
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9d993f;
/* rgb */ color: rgb(157, 153, 63);
/* oklch */ color: oklch(66.8% 0.112 106.7);
Tailwind
colors: {
  custom: {
    50: '#bcb678',
    500: '#9d993f',
    950: '#000000',
  },
}
SCSS
$custom: #9d993f;
$custom-light: #bcb678;
$custom-dark: #000000;
JSON
{
  "hex": "#9d993f",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 63
  },
  "hsl": {
    "h": 57.447,
    "s": 42.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66811,
    "c": 0.11211,
    "h": 106.7
  },
  "luminance": 0.30309
}

Semantic roles & 50–950 ramp

primary
#9D993F
secondary
#7E81BA
accent
#5BD355
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121109
muted
#81807B

Preview Lab

Preview with #9D993F

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

Preview Lab → · Contrast checker → · Palette generator →

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