#9E993B#9E993B

#9E993B is a light, moderate yellow. Relative luminance 0.304; OKLCH L 66.9% C 0.115 H 106.2°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9E993B
RGBrgb(158, 153, 59)
HSLhsl(57, 46%, 43%)
HSVhsv(57, 63%, 62%)
CMYKcmyk(0%, 3.2%, 62.7%, 38%)
CIE-LABlab(61.97, -10.34, 48.57)
CIE-LCHlch(61.97, 49.66, 102.01°)
OKLaboklab(66.86% -0.0323 0.1108)
OKLCHoklch(66.86% 0.115 106.2)
XYZxyz(26.2821, 30.3682, 8.6140)
Luminance0.3037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E993B #3B409E
analogous
#9E683B #9E993B #719E3B
triadic
#9E993B #3B9E99 #993B9E
tetradic
#9E993B #3B9E68 #3B409E #9E3B71
square
#9E993B #3B9E68 #3B409E #9E3B71
split-complementary
#9E993B #3B719E #683B9E
monochromatic
#45431A #716E2A #9E993B #C0BB56 #D1CD83

Accessibility & contrast

On white

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

On black

7.07
#9E993B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E993B
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E993B#FFFFFF#000000##000000
##9E993B1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59430
Deuteranopia (green-blind)
#A89840
Tritanopia (blue-blind)
#A98F85
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9e993b;
/* rgb */ color: rgb(158, 153, 59);
/* oklch */ color: oklch(66.9% 0.115 106.2);
Tailwind
colors: {
  custom: {
    50: '#bdb675',
    500: '#9e993b',
    950: '#000000',
  },
}
SCSS
$custom: #9e993b;
$custom-light: #bdb675;
$custom-dark: #000000;
JSON
{
  "hex": "#9e993b",
  "rgb": {
    "r": 158,
    "g": 153,
    "b": 59
  },
  "hsl": {
    "h": 56.97,
    "s": 45.622,
    "l": 42.549
  },
  "oklch": {
    "l": 0.6686,
    "c": 0.11545,
    "h": 106.2
  },
  "luminance": 0.30367
}

Semantic roles & 50–950 ramp

primary
#9E993B
secondary
#7A7EBB
accent
#59D553
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121109
muted
#81807B

Preview Lab

Preview with #9E993B

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

Preview Lab → · Contrast checker → · Palette generator →

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