#9E9225#9E9225

#9E9225 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#9E9225
RGBrgb(158, 146, 37)
HSLhsl(54, 62%, 38%)
HSVhsv(54, 77%, 62%)
CMYKcmyk(0%, 7.6%, 76.6%, 38%)
CIE-LABlab(59.85, -7.82, 55.34)
CIE-LCHlch(59.85, 55.89, 98.05°)
OKLaboklab(65.12% -0.0276 0.1213)
OKLCHoklch(65.12% 0.124 102.8)
XYZxyz(24.7145, 27.9615, 5.8452)
Luminance0.2796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9225 #25319E
analogous
#9E5625 #9E9225 #6D9E25
triadic
#9E9225 #259E92 #92259E
tetradic
#9E9225 #259E56 #25319E #9E256D
square
#9E9225 #259E56 #25319E #9E256D
split-complementary
#9E9225 #256D9E #56259E
monochromatic
#3B360E #6C6419 #9E9225 #CFBF31 #DACF63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E9225#FFFFFF#000000##000000
##9E92251.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)
#A08D0E
Deuteranopia (green-blind)
#A4932D
Tritanopia (blue-blind)
#AA877D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9e9225;
/* rgb */ color: rgb(158, 146, 37);
/* oklch */ color: oklch(65.1% 0.124 102.8);
Tailwind
colors: {
  custom: {
    50: '#beb169',
    500: '#9e9225',
    950: '#000000',
  },
}
SCSS
$custom: #9e9225;
$custom-light: #beb169;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9225",
  "rgb": {
    "r": 158,
    "g": 146,
    "b": 37
  },
  "hsl": {
    "h": 54.05,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.65124,
    "c": 0.12437,
    "h": 102.8
  },
  "luminance": 0.2796
}

Semantic roles & 50–950 ramp

primary
#9E9225
secondary
#5F69C0
accent
#53E543
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9E9225

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

Preview Lab → · Contrast checker → · Palette generator →

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