#9E993A#9E993A

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

Color values

HEX#9E993A
RGBrgb(158, 153, 58)
HSLhsl(57, 46%, 42%)
HSVhsv(57, 63%, 62%)
CMYKcmyk(0%, 3.2%, 63.3%, 38%)
CIE-LABlab(61.96, -10.40, 49.01)
CIE-LCHlch(61.96, 50.10, 101.98°)
OKLaboklab(66.85% -0.0326 0.1116)
OKLCHoklch(66.85% 0.116 106.3)
XYZxyz(26.2564, 30.3579, 8.4787)
Luminance0.3036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E993A #3A3F9E
analogous
#9E673A #9E993A #719E3A
triadic
#9E993A #3A9E99 #993A9E
tetradic
#9E993A #3A9E67 #3A3F9E #9E3A71
square
#9E993A #3A9E67 #3A3F9E #9E3A71
split-complementary
#9E993A #3A719E #673A9E
monochromatic
#444219 #716E2A #9E993A #C0BB55 #D1CD81

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E993A#FFFFFF#000000##000000
##9E993A1.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)
#A5932E
Deuteranopia (green-blind)
#A89840
Tritanopia (blue-blind)
#A98F85
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9e993a;
/* rgb */ color: rgb(158, 153, 58);
/* oklch */ color: oklch(66.8% 0.116 106.3);
Tailwind
colors: {
  custom: {
    50: '#bdb675',
    500: '#9e993a',
    950: '#000000',
  },
}
SCSS
$custom: #9e993a;
$custom-light: #bdb675;
$custom-dark: #000000;
JSON
{
  "hex": "#9e993a",
  "rgb": {
    "r": 158,
    "g": 153,
    "b": 58
  },
  "hsl": {
    "h": 57,
    "s": 46.296,
    "l": 42.353
  },
  "oklch": {
    "l": 0.6685,
    "c": 0.11627,
    "h": 106.3
  },
  "luminance": 0.30357
}

Semantic roles & 50–950 ramp

primary
#9E993A
secondary
#797CBB
accent
#58D652
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9E993A

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

Preview Lab → · Contrast checker → · Palette generator →

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