#9E9726#9E9726

#9E9726 is a light, vivid yellow. Relative luminance 0.295; OKLCH L 66.2% C 0.128 H 105.8°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9E9726
RGBrgb(158, 151, 38)
HSLhsl(57, 61%, 38%)
HSVhsv(57, 76%, 62%)
CMYKcmyk(0%, 4.4%, 75.9%, 38%)
CIE-LABlab(61.26, -10.45, 56.29)
CIE-LCHlch(61.26, 57.26, 100.52°)
OKLaboklab(66.24% -0.0349 0.1235)
OKLCHoklch(66.24% 0.128 105.8)
XYZxyz(25.5181, 29.5432, 6.1916)
Luminance0.2954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9726 #262D9E
analogous
#9E5B26 #9E9726 #699E26
triadic
#9E9726 #269E97 #97269E
tetradic
#9E9726 #269E5B #262D9E #9E2669
square
#9E9726 #269E5B #262D9E #9E2669
split-complementary
#9E9726 #26699E #5B269E
monochromatic
#3B390E #6D681A #9E9726 #CEC533 #DAD365

Accessibility & contrast

On white

3.04
#9E9726 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#9E9726 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9726
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9726#FFFFFF#000000##000000
##9E97261.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5910D
Deuteranopia (green-blind)
#A7962F
Tritanopia (blue-blind)
#AA8C82
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9e9726;
/* rgb */ color: rgb(158, 151, 38);
/* oklch */ color: oklch(66.2% 0.128 105.8);
Tailwind
colors: {
  custom: {
    50: '#beb56a',
    500: '#9e9726',
    950: '#000000',
  },
}
SCSS
$custom: #9e9726;
$custom-light: #beb56a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9726",
  "rgb": {
    "r": 158,
    "g": 151,
    "b": 38
  },
  "hsl": {
    "h": 56.5,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.66244,
    "c": 0.12834,
    "h": 105.8
  },
  "luminance": 0.29542
}

Semantic roles & 50–950 ramp

primary
#9E9726
secondary
#6066C0
accent
#4DE443
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9726

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

Preview Lab → · Contrast checker → · Palette generator →

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