#9E8926#9E8926

#9E8926 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 63.2% C 0.117 H 96.6°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9E8926
RGBrgb(158, 137, 38)
HSLhsl(50, 61%, 38%)
HSVhsv(50, 76%, 62%)
CMYKcmyk(0%, 13.3%, 75.9%, 38%)
CIE-LABlab(57.37, -2.88, 52.63)
CIE-LCHlch(57.37, 52.71, 93.13°)
OKLaboklab(63.15% -0.0135 0.1157)
OKLCHoklch(63.15% 0.117 96.6)
XYZxyz(23.3973, 25.3016, 5.4847)
Luminance0.2530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8926 #263B9E
analogous
#9E4D26 #9E8926 #779E26
triadic
#9E8926 #269E89 #89269E
tetradic
#9E8926 #269E4D #263B9E #9E2677
square
#9E8926 #269E4D #263B9E #9E2677
split-complementary
#9E8926 #26779E #4D269E
monochromatic
#3B330E #6D5E1A #9E8926 #CEB333 #DAC565

Accessibility & contrast

On white

3.47
#9E8926 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#9E8926 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8926
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8926#FFFFFF#000000##000000
##9E89261.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978614
Deuteranopia (green-blind)
#9D8D2C
Tritanopia (blue-blind)
#AB7E76
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9e8926;
/* rgb */ color: rgb(158, 137, 38);
/* oklch */ color: oklch(63.2% 0.117 96.6);
Tailwind
colors: {
  custom: {
    50: '#beab68',
    500: '#9e8926',
    950: '#000000',
  },
}
SCSS
$custom: #9e8926;
$custom-light: #beab68;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8926",
  "rgb": {
    "r": 158,
    "g": 137,
    "b": 38
  },
  "hsl": {
    "h": 49.5,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63154,
    "c": 0.11651,
    "h": 96.6
  },
  "luminance": 0.253
}

Semantic roles & 50–950 ramp

primary
#9E8926
secondary
#6071C0
accent
#60E443
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9E8926

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

Preview Lab → · Contrast checker → · Palette generator →

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