#9E985F#9E985F

#9E985F is a light, moderate yellow. Relative luminance 0.306; OKLCH L 67.1% C 0.077 H 103.1°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#9E985F
RGBrgb(158, 152, 95)
HSLhsl(54, 25%, 50%)
HSVhsv(54, 40%, 62%)
CMYKcmyk(0%, 3.8%, 39.9%, 38%)
CIE-LABlab(62.13, -6.48, 30.77)
CIE-LCHlch(62.13, 31.45, 101.89°)
OKLaboklab(67.13% -0.0175 0.0753)
OKLCHoklch(67.13% 0.077 103.1)
XYZxyz(27.3948, 30.5525, 15.2784)
Luminance0.3055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E985F #5F659E
analogous
#9E795F #9E985F #859E5F
triadic
#9E985F #5F9E98 #985F9E
tetradic
#9E985F #5F9E79 #5F659E #9E5F85
square
#9E985F #5F9E79 #5F659E #9E5F85
split-complementary
#9E985F #5F859E #795F9E
monochromatic
#524E31 #787348 #9E985F #B5B185 #CCC9AB

Accessibility & contrast

On white

2.95
#9E985F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#9E985F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E985F
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E985F#FFFFFF#000000##000000
##9E985F1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2945B
Deuteranopia (green-blind)
#A49861
Tritanopia (blue-blind)
#A7918A
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9e985f;
/* rgb */ color: rgb(158, 152, 95);
/* oklch */ color: oklch(67.1% 0.077 103.1);
Tailwind
colors: {
  custom: {
    50: '#bcb68d',
    500: '#9e985f',
    950: '#000000',
  },
}
SCSS
$custom: #9e985f;
$custom-light: #bcb68d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e985f",
  "rgb": {
    "r": 158,
    "g": 152,
    "b": 95
  },
  "hsl": {
    "h": 54.286,
    "s": 24.901,
    "l": 49.608
  },
  "oklch": {
    "l": 0.67126,
    "c": 0.07725,
    "h": 103.1
  },
  "luminance": 0.30552
}

Semantic roles & 50–950 ramp

primary
#9E985F
secondary
#9EA1BB
accent
#6FC166
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9E985F

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

Preview Lab → · Contrast checker → · Palette generator →

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