#9E9529#9E9529

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

Color values

HEX#9E9529
RGBrgb(158, 149, 41)
HSLhsl(55, 59%, 39%)
HSVhsv(55, 74%, 62%)
CMYKcmyk(0%, 5.7%, 74.1%, 38%)
CIE-LABlab(60.72, -9.25, 54.71)
CIE-LCHlch(60.72, 55.48, 99.60°)
OKLaboklab(65.82% -0.0312 0.1207)
OKLCHoklch(65.82% 0.125 104.5)
XYZxyz(25.2493, 28.9251, 6.3505)
Luminance0.2892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9529 #29329E
analogous
#9E5B29 #9E9529 #6D9E29
triadic
#9E9529 #299E95 #95299E
tetradic
#9E9529 #299E5B #29329E #9E296D
square
#9E9529 #299E5B #29329E #9E296D
split-complementary
#9E9529 #296D9E #5B299E
monochromatic
#3D3910 #6D671C #9E9529 #CCC039 #D8D069

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E9529#FFFFFF#000000##000000
##9E95291.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)
#A39015
Deuteranopia (green-blind)
#A69531
Tritanopia (blue-blind)
#AA8B80
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9e9529;
/* rgb */ color: rgb(158, 149, 41);
/* oklch */ color: oklch(65.8% 0.125 104.5);
Tailwind
colors: {
  custom: {
    50: '#beb36b',
    500: '#9e9529',
    950: '#000000',
  },
}
SCSS
$custom: #9e9529;
$custom-light: #beb36b;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9529",
  "rgb": {
    "r": 158,
    "g": 149,
    "b": 41
  },
  "hsl": {
    "h": 55.385,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65817,
    "c": 0.12468,
    "h": 104.5
  },
  "luminance": 0.28924
}

Semantic roles & 50–950 ramp

primary
#9E9529
secondary
#646BBF
accent
#52E246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9529

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

Preview Lab → · Contrast checker → · Palette generator →

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