#9E9733#9E9733

#9E9733 is a light, moderate yellow. Relative luminance 0.296; OKLCH L 66.3% C 0.120 H 105.3°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9E9733
RGBrgb(158, 151, 51)
HSLhsl(56, 51%, 41%)
HSVhsv(56, 68%, 62%)
CMYKcmyk(0%, 4.4%, 67.7%, 38%)
CIE-LABlab(61.34, -9.78, 51.38)
CIE-LCHlch(61.34, 52.31, 100.78°)
OKLaboklab(66.34% -0.0316 0.1155)
OKLCHoklch(66.34% 0.12 105.3)
XYZxyz(25.7657, 29.6423, 7.4956)
Luminance0.2964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9733 #333A9E
analogous
#9E6133 #9E9733 #6F9E33
triadic
#9E9733 #339E97 #97339E
tetradic
#9E9733 #339E61 #333A9E #9E336F
square
#9E9733 #339E61 #333A9E #9E336F
split-complementary
#9E9733 #336F9E #61339E
monochromatic
#413F15 #706B24 #9E9733 #C4BC4A #D3CD78

Accessibility & contrast

On white

3.03
#9E9733 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#9E9733 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9733
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9733#FFFFFF#000000##000000
##9E97331.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49225
Deuteranopia (green-blind)
#A79639
Tritanopia (blue-blind)
#AA8D83
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9e9733;
/* rgb */ color: rgb(158, 151, 51);
/* oklch */ color: oklch(66.3% 0.120 105.3);
Tailwind
colors: {
  custom: {
    50: '#beb570',
    500: '#9e9733',
    950: '#000000',
  },
}
SCSS
$custom: #9e9733;
$custom-light: #beb570;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9733",
  "rgb": {
    "r": 158,
    "g": 151,
    "b": 51
  },
  "hsl": {
    "h": 56.075,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.6634,
    "c": 0.11976,
    "h": 105.3
  },
  "luminance": 0.29641
}

Semantic roles & 50–950 ramp

primary
#9E9733
secondary
#7176BC
accent
#56DB4D
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9E9733

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

Preview Lab → · Contrast checker → · Palette generator →

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