#9E9934#9E9934

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

Color values

HEX#9E9934
RGBrgb(158, 153, 52)
HSLhsl(57, 50%, 41%)
HSVhsv(57, 67%, 62%)
CMYKcmyk(0%, 3.2%, 67.1%, 38%)
CIE-LABlab(61.91, -10.79, 51.55)
CIE-LCHlch(61.91, 52.67, 101.82°)
OKLaboklab(66.8% -0.0344 0.116)
OKLCHoklch(66.8% 0.121 106.5)
XYZxyz(26.1126, 30.3004, 7.7212)
Luminance0.3030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9934 #34399E
analogous
#9E6434 #9E9934 #6E9E34
triadic
#9E9934 #349E99 #99349E
tetradic
#9E9934 #349E64 #34399E #9E346E
square
#9E9934 #349E64 #34399E #9E346E
split-complementary
#9E9934 #346E9E #64349E
monochromatic
#424016 #706C25 #9E9934 #C4BE4B #D3CF79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E9934#FFFFFF#000000##000000
##9E99341.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e9934;
/* rgb */ color: rgb(158, 153, 52);
/* oklch */ color: oklch(66.8% 0.121 106.5);
Tailwind
colors: {
  custom: {
    50: '#beb671',
    500: '#9e9934',
    950: '#000000',
  },
}
SCSS
$custom: #9e9934;
$custom-light: #beb671;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9934",
  "rgb": {
    "r": 158,
    "g": 153,
    "b": 52
  },
  "hsl": {
    "h": 57.17,
    "s": 50.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.66795,
    "c": 0.12101,
    "h": 106.5
  },
  "luminance": 0.30299
}

Semantic roles & 50–950 ramp

primary
#9E9934
secondary
#7276BC
accent
#54DA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9E9934

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

Preview Lab → · Contrast checker → · Palette generator →

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