#9E9526#9E9526

#9E9526 is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.8% C 0.126 H 104.6°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9E9526
RGBrgb(158, 149, 38)
HSLhsl(56, 61%, 38%)
HSVhsv(56, 76%, 62%)
CMYKcmyk(0%, 5.7%, 75.9%, 38%)
CIE-LABlab(60.70, -9.39, 55.77)
CIE-LCHlch(60.70, 56.56, 99.55°)
OKLaboklab(65.8% -0.0319 0.1224)
OKLCHoklch(65.8% 0.126 104.6)
XYZxyz(25.1989, 28.9049, 6.0852)
Luminance0.2890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9526 #262F9E
analogous
#9E5926 #9E9526 #6B9E26
triadic
#9E9526 #269E95 #95269E
tetradic
#9E9526 #269E59 #262F9E #9E266B
square
#9E9526 #269E59 #262F9E #9E266B
split-complementary
#9E9526 #266B9E #59269E
monochromatic
#3B380E #6D661A #9E9526 #CEC233 #DAD165

Accessibility & contrast

On white

3.10
#9E9526 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#9E9526 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9526
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9526#FFFFFF#000000##000000
##9E95261.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3900F
Deuteranopia (green-blind)
#A6952E
Tritanopia (blue-blind)
#AA8A80
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9e9526;
/* rgb */ color: rgb(158, 149, 38);
/* oklch */ color: oklch(65.8% 0.126 104.6);
Tailwind
colors: {
  custom: {
    50: '#beb369',
    500: '#9e9526',
    950: '#000000',
  },
}
SCSS
$custom: #9e9526;
$custom-light: #beb369;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9526",
  "rgb": {
    "r": 158,
    "g": 149,
    "b": 38
  },
  "hsl": {
    "h": 55.5,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.65797,
    "c": 0.12648,
    "h": 104.6
  },
  "luminance": 0.28904
}

Semantic roles & 50–950 ramp

primary
#9E9526
secondary
#6067C0
accent
#50E443
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9526

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

Preview Lab → · Contrast checker → · Palette generator →

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