#9E9326#9E9326

#9E9326 is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.4% C 0.125 H 103.4°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#9E9326
RGBrgb(158, 147, 38)
HSLhsl(55, 61%, 38%)
HSVhsv(55, 76%, 62%)
CMYKcmyk(0%, 7%, 75.9%, 38%)
CIE-LABlab(60.14, -8.32, 55.25)
CIE-LCHlch(60.14, 55.87, 98.56°)
OKLaboklab(65.35% -0.0289 0.1213)
OKLCHoklch(65.35% 0.125 103.4)
XYZxyz(24.8852, 28.2775, 5.9806)
Luminance0.2828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9326 #26319E
analogous
#9E5726 #9E9326 #6D9E26
triadic
#9E9326 #269E93 #93269E
tetradic
#9E9326 #269E57 #26319E #9E266D
square
#9E9326 #269E57 #26319E #9E266D
split-complementary
#9E9326 #266D9E #57269E
monochromatic
#3B370E #6D651A #9E9326 #CEC033 #DACF65

Accessibility & contrast

On white

3.16
#9E9326 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#9E9326 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9326
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9326#FFFFFF#000000##000000
##9E93261.003.166.666.66
#FFFFFF3.161.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E10
Deuteranopia (green-blind)
#A4932E
Tritanopia (blue-blind)
#AA887E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9e9326;
/* rgb */ color: rgb(158, 147, 38);
/* oklch */ color: oklch(65.4% 0.125 103.4);
Tailwind
colors: {
  custom: {
    50: '#beb269',
    500: '#9e9326',
    950: '#000000',
  },
}
SCSS
$custom: #9e9326;
$custom-light: #beb269;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9326",
  "rgb": {
    "r": 158,
    "g": 147,
    "b": 38
  },
  "hsl": {
    "h": 54.5,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.65353,
    "c": 0.12468,
    "h": 103.4
  },
  "luminance": 0.28276
}

Semantic roles & 50–950 ramp

primary
#9E9326
secondary
#6069C0
accent
#52E443
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9E9326

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

Preview Lab → · Contrast checker → · Palette generator →

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