#9E9933#9E9933

#9E9933 is a light, vivid yellow. Relative luminance 0.303; OKLCH L 66.8% C 0.122 H 106.5°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9E9933
RGBrgb(158, 153, 51)
HSLhsl(57, 51%, 41%)
HSVhsv(57, 68%, 62%)
CMYKcmyk(0%, 3.2%, 67.7%, 38%)
CIE-LABlab(61.90, -10.85, 51.96)
CIE-LCHlch(61.90, 53.08, 101.79°)
OKLaboklab(66.79% -0.0346 0.1167)
OKLCHoklch(66.79% 0.122 106.5)
XYZxyz(26.0903, 30.2915, 7.6038)
Luminance0.3029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9933 #33389E
analogous
#9E6333 #9E9933 #6D9E33
triadic
#9E9933 #339E99 #99339E
tetradic
#9E9933 #339E63 #33389E #9E336D
square
#9E9933 #339E63 #33389E #9E336D
split-complementary
#9E9933 #336D9E #63339E
monochromatic
#413F15 #706C24 #9E9933 #C4BF4A #D3CF78

Accessibility & contrast

On white

2.98
#9E9933 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#9E9933 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9933
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9933#FFFFFF#000000##000000
##9E99331.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69325
Deuteranopia (green-blind)
#A8973A
Tritanopia (blue-blind)
#A98F84
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9e9933;
/* rgb */ color: rgb(158, 153, 51);
/* oklch */ color: oklch(66.8% 0.122 106.5);
Tailwind
colors: {
  custom: {
    50: '#beb671',
    500: '#9e9933',
    950: '#000000',
  },
}
SCSS
$custom: #9e9933;
$custom-light: #beb671;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9933",
  "rgb": {
    "r": 158,
    "g": 153,
    "b": 51
  },
  "hsl": {
    "h": 57.196,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66786,
    "c": 0.12175,
    "h": 106.5
  },
  "luminance": 0.30291
}

Semantic roles & 50–950 ramp

primary
#9E9933
secondary
#7174BC
accent
#54DB4D
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9E9933

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

Preview Lab → · Contrast checker → · Palette generator →

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