#9E993C#9E993C

#9E993C 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.08:1 contrast (WCAG AA passes).

Color values

HEX#9E993C
RGBrgb(158, 153, 60)
HSLhsl(57, 45%, 43%)
HSVhsv(57, 62%, 62%)
CMYKcmyk(0%, 3.2%, 62%, 38%)
CIE-LABlab(61.98, -10.27, 48.13)
CIE-LCHlch(61.98, 49.22, 102.04°)
OKLaboklab(66.87% -0.032 0.1101)
OKLCHoklch(66.87% 0.115 106.2)
XYZxyz(26.3083, 30.3787, 8.7519)
Luminance0.3038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E993C #3C419E
analogous
#9E683C #9E993C #729E3C
triadic
#9E993C #3C9E99 #993C9E
tetradic
#9E993C #3C9E68 #3C419E #9E3C72
square
#9E993C #3C9E68 #3C419E #9E3C72
split-complementary
#9E993C #3C729E #683C9E
monochromatic
#45431A #726E2B #9E993C #BFBA58 #D0CC84

Accessibility & contrast

On white

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

On black

7.08
#9E993C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E993C
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E993C#FFFFFF#000000##000000
##9E993C1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e993c;
/* rgb */ color: rgb(158, 153, 60);
/* oklch */ color: oklch(66.9% 0.115 106.2);
Tailwind
colors: {
  custom: {
    50: '#bdb676',
    500: '#9e993c',
    950: '#000000',
  },
}
SCSS
$custom: #9e993c;
$custom-light: #bdb676;
$custom-dark: #000000;
JSON
{
  "hex": "#9e993c",
  "rgb": {
    "r": 158,
    "g": 153,
    "b": 60
  },
  "hsl": {
    "h": 56.939,
    "s": 44.954,
    "l": 42.745
  },
  "oklch": {
    "l": 0.6687,
    "c": 0.1146,
    "h": 106.2
  },
  "luminance": 0.30378
}

Semantic roles & 50–950 ramp

primary
#9E993C
secondary
#7B7FBA
accent
#5AD553
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121109
muted
#81807B

Preview Lab

Preview with #9E993C

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

Preview Lab → · Contrast checker → · Palette generator →

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