#9E9535#9E9535

#9E9535 is a light, moderate yellow. Relative luminance 0.290; OKLCH L 65.9% C 0.116 H 104.0°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9E9535
RGBrgb(158, 149, 53)
HSLhsl(55, 50%, 41%)
HSVhsv(55, 66%, 62%)
CMYKcmyk(0%, 5.7%, 66.5%, 38%)
CIE-LABlab(60.80, -8.59, 49.97)
CIE-LCHlch(60.80, 50.71, 99.76°)
OKLaboklab(65.91% -0.028 0.1129)
OKLCHoklch(65.91% 0.116 104)
XYZxyz(25.4916, 29.0220, 7.6265)
Luminance0.2902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9535 #353E9E
analogous
#9E6135 #9E9535 #739E35
triadic
#9E9535 #359E95 #95359E
tetradic
#9E9535 #359E61 #353E9E #9E3573
square
#9E9535 #359E61 #353E9E #9E3573
split-complementary
#9E9535 #35739E #61359E
monochromatic
#423F16 #706A26 #9E9535 #C3B94D #D3CB7B

Accessibility & contrast

On white

3.09
#9E9535 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#9E9535 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9535
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9535#FFFFFF#000000##000000
##9E95351.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29028
Deuteranopia (green-blind)
#A5953B
Tritanopia (blue-blind)
#AA8B81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9e9535;
/* rgb */ color: rgb(158, 149, 53);
/* oklch */ color: oklch(65.9% 0.116 104.0);
Tailwind
colors: {
  custom: {
    50: '#beb371',
    500: '#9e9535',
    950: '#000000',
  },
}
SCSS
$custom: #9e9535;
$custom-light: #beb371;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9535",
  "rgb": {
    "r": 158,
    "g": 149,
    "b": 53
  },
  "hsl": {
    "h": 54.857,
    "s": 49.763,
    "l": 41.373
  },
  "oklch": {
    "l": 0.65913,
    "c": 0.11629,
    "h": 104
  },
  "luminance": 0.29021
}

Semantic roles & 50–950 ramp

primary
#9E9535
secondary
#737ABB
accent
#5AD94F
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9E9535

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

Preview Lab → · Contrast checker → · Palette generator →

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