#9E8528#9E8528

#9E8528 is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.3% C 0.112 H 93.4°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9E8528
RGBrgb(158, 133, 40)
HSLhsl(47, 60%, 39%)
HSVhsv(47, 75%, 62%)
CMYKcmyk(0%, 15.8%, 74.7%, 38%)
CIE-LABlab(56.29, -0.58, 50.82)
CIE-LCHlch(56.29, 50.82, 90.65°)
OKLaboklab(62.3% -0.0067 0.1123)
OKLCHoklch(62.3% 0.112 93.4)
XYZxyz(22.8723, 24.1987, 5.4732)
Luminance0.2420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8528 #28419E
analogous
#9E4A28 #9E8528 #7C9E28
triadic
#9E8528 #289E85 #85289E
tetradic
#9E8528 #289E4A #28419E #9E287C
square
#9E8528 #289E4A #28419E #9E287C
split-complementary
#9E8528 #287C9E #4A289E
monochromatic
#3C330F #6D5C1C #9E8528 #CCAD37 #D9C168

Accessibility & contrast

On white

3.60
#9E8528 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#9E8528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8528
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8528#FFFFFF#000000##000000
##9E85281.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948319
Deuteranopia (green-blind)
#9A8A2D
Tritanopia (blue-blind)
#AB7A73
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9e8528;
/* rgb */ color: rgb(158, 133, 40);
/* oklch */ color: oklch(62.3% 0.112 93.4);
Tailwind
colors: {
  custom: {
    50: '#bea869',
    500: '#9e8528',
    950: '#000000',
  },
}
SCSS
$custom: #9e8528;
$custom-light: #bea869;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8528",
  "rgb": {
    "r": 158,
    "g": 133,
    "b": 40
  },
  "hsl": {
    "h": 47.288,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.62303,
    "c": 0.11248,
    "h": 93.4
  },
  "luminance": 0.24197
}

Semantic roles & 50–950 ramp

primary
#9E8528
secondary
#6376BF
accent
#66E345
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #9E8528

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

Preview Lab → · Contrast checker → · Palette generator →

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