#9E9226#9E9226

#9E9226 is a light, vivid yellow. Relative luminance 0.280; OKLCH L 65.1% C 0.124 H 102.8°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9E9226
RGBrgb(158, 146, 38)
HSLhsl(54, 61%, 38%)
HSVhsv(54, 76%, 62%)
CMYKcmyk(0%, 7.6%, 75.9%, 38%)
CIE-LABlab(59.86, -7.78, 54.99)
CIE-LCHlch(59.86, 55.53, 98.05°)
OKLaboklab(65.13% -0.0273 0.1207)
OKLCHoklch(65.13% 0.124 102.8)
XYZxyz(24.7304, 27.9679, 5.9290)
Luminance0.2797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9226 #26329E
analogous
#9E5626 #9E9226 #6E9E26
triadic
#9E9226 #269E92 #92269E
tetradic
#9E9226 #269E56 #26329E #9E266E
square
#9E9226 #269E56 #26329E #9E266E
split-complementary
#9E9226 #266E9E #56269E
monochromatic
#3B370E #6D641A #9E9226 #CEBF33 #DACE65

Accessibility & contrast

On white

3.19
#9E9226 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#9E9226 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9226
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9226#FFFFFF#000000##000000
##9E92261.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D10
Deuteranopia (green-blind)
#A3932E
Tritanopia (blue-blind)
#AA877D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9e9226;
/* rgb */ color: rgb(158, 146, 38);
/* oklch */ color: oklch(65.1% 0.124 102.8);
Tailwind
colors: {
  custom: {
    50: '#beb169',
    500: '#9e9226',
    950: '#000000',
  },
}
SCSS
$custom: #9e9226;
$custom-light: #beb169;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9226",
  "rgb": {
    "r": 158,
    "g": 146,
    "b": 38
  },
  "hsl": {
    "h": 54,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.65131,
    "c": 0.12379,
    "h": 102.8
  },
  "luminance": 0.27967
}

Semantic roles & 50–950 ramp

primary
#9E9226
secondary
#606AC0
accent
#54E443
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9E9226

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

Preview Lab → · Contrast checker → · Palette generator →

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