#9E9925#9E9925

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

Color values

HEX#9E9925
RGBrgb(158, 153, 37)
HSLhsl(58, 62%, 38%)
HSVhsv(58, 77%, 62%)
CMYKcmyk(0%, 3.2%, 76.6%, 38%)
CIE-LABlab(61.81, -11.55, 57.15)
CIE-LCHlch(61.81, 58.31, 101.43°)
OKLaboklab(66.69% -0.038 0.1252)
OKLCHoklch(66.69% 0.131 106.9)
XYZxyz(25.8268, 30.1861, 6.2160)
Luminance0.3019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9925 #252A9E
analogous
#9E5C25 #9E9925 #669E25
triadic
#9E9925 #259E99 #99259E
tetradic
#9E9925 #259E5C #252A9E #9E2566
square
#9E9925 #259E5C #252A9E #9E2566
split-complementary
#9E9925 #25669E #5C259E
monochromatic
#3B390E #6C6919 #9E9925 #CFC831 #DAD663

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E9925#FFFFFF#000000##000000
##9E99251.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)
#A69309
Deuteranopia (green-blind)
#A9972E
Tritanopia (blue-blind)
#AA8E83
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9e9925;
/* rgb */ color: rgb(158, 153, 37);
/* oklch */ color: oklch(66.7% 0.131 106.9);
Tailwind
colors: {
  custom: {
    50: '#beb669',
    500: '#9e9925',
    950: '#000000',
  },
}
SCSS
$custom: #9e9925;
$custom-light: #beb669;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9925",
  "rgb": {
    "r": 158,
    "g": 153,
    "b": 37
  },
  "hsl": {
    "h": 57.521,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.66685,
    "c": 0.13081,
    "h": 106.9
  },
  "luminance": 0.30185
}

Semantic roles & 50–950 ramp

primary
#9E9925
secondary
#5F63C0
accent
#49E543
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9925

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

Preview Lab → · Contrast checker → · Palette generator →

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