#9E9626#9E9626

#9E9626 is a light, vivid yellow. Relative luminance 0.292; OKLCH L 66.0% C 0.127 H 105.2°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9E9626
RGBrgb(158, 150, 38)
HSLhsl(56, 61%, 38%)
HSVhsv(56, 76%, 62%)
CMYKcmyk(0%, 5.1%, 75.9%, 38%)
CIE-LABlab(60.98, -9.92, 56.03)
CIE-LCHlch(60.98, 56.90, 100.04°)
OKLaboklab(66.02% -0.0334 0.123)
OKLCHoklch(66.02% 0.127 105.2)
XYZxyz(25.3578, 29.2227, 6.1382)
Luminance0.2922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9626 #262E9E
analogous
#9E5A26 #9E9626 #6A9E26
triadic
#9E9626 #269E96 #96269E
tetradic
#9E9626 #269E5A #262E9E #9E266A
square
#9E9626 #269E5A #262E9E #9E266A
split-complementary
#9E9626 #266A9E #5A269E
monochromatic
#3B380E #6D671A #9E9626 #CEC433 #DAD265

Accessibility & contrast

On white

3.07
#9E9626 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#9E9626 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9626
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9626#FFFFFF#000000##000000
##9E96261.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4900E
Deuteranopia (green-blind)
#A6952E
Tritanopia (blue-blind)
#AA8B81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9e9626;
/* rgb */ color: rgb(158, 150, 38);
/* oklch */ color: oklch(66.0% 0.127 105.2);
Tailwind
colors: {
  custom: {
    50: '#beb469',
    500: '#9e9626',
    950: '#000000',
  },
}
SCSS
$custom: #9e9626;
$custom-light: #beb469;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9626",
  "rgb": {
    "r": 158,
    "g": 150,
    "b": 38
  },
  "hsl": {
    "h": 56,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.6602,
    "c": 0.12741,
    "h": 105.2
  },
  "luminance": 0.29222
}

Semantic roles & 50–950 ramp

primary
#9E9626
secondary
#6067C0
accent
#4EE443
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9626

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

Preview Lab → · Contrast checker → · Palette generator →

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