#9E9530#9E9530

#9E9530 is a light, vivid yellow. Relative luminance 0.290; OKLCH L 65.9% C 0.120 H 104.2°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9E9530
RGBrgb(158, 149, 48)
HSLhsl(55, 53%, 40%)
HSVhsv(55, 70%, 62%)
CMYKcmyk(0%, 5.7%, 69.6%, 38%)
CIE-LABlab(60.76, -8.89, 52.03)
CIE-LCHlch(60.76, 52.78, 99.69°)
OKLaboklab(65.87% -0.0294 0.1164)
OKLCHoklch(65.87% 0.12 104.2)
XYZxyz(25.3825, 28.9784, 7.0521)
Luminance0.2898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9530 #30399E
analogous
#9E5E30 #9E9530 #709E30
triadic
#9E9530 #309E95 #95309E
tetradic
#9E9530 #309E5E #30399E #9E3070
square
#9E9530 #309E5E #30399E #9E3070
split-complementary
#9E9530 #30709E #5E309E
monochromatic
#403C13 #6F6922 #9E9530 #C6BC45 #D5CD74

Accessibility & contrast

On white

3.09
#9E9530 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#9E9530 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9530
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9530#FFFFFF#000000##000000
##9E95301.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29021
Deuteranopia (green-blind)
#A59536
Tritanopia (blue-blind)
#AA8B81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9e9530;
/* rgb */ color: rgb(158, 149, 48);
/* oklch */ color: oklch(65.9% 0.120 104.2);
Tailwind
colors: {
  custom: {
    50: '#beb36f',
    500: '#9e9530',
    950: '#000000',
  },
}
SCSS
$custom: #9e9530;
$custom-light: #beb36f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9530",
  "rgb": {
    "r": 158,
    "g": 149,
    "b": 48
  },
  "hsl": {
    "h": 55.091,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.6587,
    "c": 0.12001,
    "h": 104.2
  },
  "luminance": 0.28977
}

Semantic roles & 50–950 ramp

primary
#9E9530
secondary
#6D74BD
accent
#57DD4B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #9E9530

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

Preview Lab → · Contrast checker → · Palette generator →

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