#9E9926#9E9926

#9E9926 is a light, vivid yellow. Relative luminance 0.302; OKLCH L 66.7% C 0.130 H 106.9°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#9E9926
RGBrgb(158, 153, 38)
HSLhsl(58, 61%, 38%)
HSVhsv(58, 76%, 62%)
CMYKcmyk(0%, 3.2%, 75.9%, 38%)
CIE-LABlab(61.82, -11.51, 56.82)
CIE-LCHlch(61.82, 57.97, 101.45°)
OKLaboklab(66.69% -0.0378 0.1246)
OKLCHoklch(66.69% 0.13 106.9)
XYZxyz(25.8427, 30.1924, 6.2998)
Luminance0.3019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9926 #262B9E
analogous
#9E5D26 #9E9926 #679E26
triadic
#9E9926 #269E99 #99269E
tetradic
#9E9926 #269E5D #262B9E #9E2667
square
#9E9926 #269E5D #262B9E #9E2667
split-complementary
#9E9926 #26679E #5D269E
monochromatic
#3B390E #6D691A #9E9926 #CEC833 #DAD565

Accessibility & contrast

On white

2.98
#9E9926 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#9E9926 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9926
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9926#FFFFFF#000000##000000
##9E99261.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6930C
Deuteranopia (green-blind)
#A9972F
Tritanopia (blue-blind)
#AA8E83
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9e9926;
/* rgb */ color: rgb(158, 153, 38);
/* oklch */ color: oklch(66.7% 0.130 106.9);
Tailwind
colors: {
  custom: {
    50: '#beb66a',
    500: '#9e9926',
    950: '#000000',
  },
}
SCSS
$custom: #9e9926;
$custom-light: #beb66a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9926",
  "rgb": {
    "r": 158,
    "g": 153,
    "b": 38
  },
  "hsl": {
    "h": 57.5,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.66691,
    "c": 0.13025,
    "h": 106.9
  },
  "luminance": 0.30192
}

Semantic roles & 50–950 ramp

primary
#9E9926
secondary
#6064C0
accent
#4AE443
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9926

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

Preview Lab → · Contrast checker → · Palette generator →

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