#9E8526#9E8526

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

Color values

HEX#9E8526
RGBrgb(158, 133, 38)
HSLhsl(48, 61%, 38%)
HSVhsv(48, 76%, 62%)
CMYKcmyk(0%, 15.8%, 75.9%, 38%)
CIE-LABlab(56.27, -0.67, 51.59)
CIE-LCHlch(56.27, 51.59, 90.75°)
OKLaboklab(62.29% -0.0072 0.1135)
OKLCHoklch(62.29% 0.114 93.6)
XYZxyz(22.8392, 24.1854, 5.2986)
Luminance0.2418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8526 #263F9E
analogous
#9E4926 #9E8526 #7B9E26
triadic
#9E8526 #269E85 #85269E
tetradic
#9E8526 #269E49 #263F9E #9E267B
square
#9E8526 #269E49 #263F9E #9E267B
split-complementary
#9E8526 #267B9E #49269E
monochromatic
#3B320E #6D5B1A #9E8526 #CEAE33 #DAC165

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E8526#FFFFFF#000000##000000
##9E85261.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)
#948316
Deuteranopia (green-blind)
#9A8A2C
Tritanopia (blue-blind)
#AB7A72
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9e8526;
/* rgb */ color: rgb(158, 133, 38);
/* oklch */ color: oklch(62.3% 0.114 93.6);
Tailwind
colors: {
  custom: {
    50: '#bea867',
    500: '#9e8526',
    950: '#000000',
  },
}
SCSS
$custom: #9e8526;
$custom-light: #bea867;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8526",
  "rgb": {
    "r": 158,
    "g": 133,
    "b": 38
  },
  "hsl": {
    "h": 47.5,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62288,
    "c": 0.11374,
    "h": 93.6
  },
  "luminance": 0.24184
}

Semantic roles & 50–950 ramp

primary
#9E8526
secondary
#6074C0
accent
#65E443
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9E8526

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

Preview Lab → · Contrast checker → · Palette generator →

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