#9E9725#9E9725

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

Color values

HEX#9E9725
RGBrgb(158, 151, 37)
HSLhsl(57, 62%, 38%)
HSVhsv(57, 77%, 62%)
CMYKcmyk(0%, 4.4%, 76.6%, 38%)
CIE-LABlab(61.25, -10.50, 56.63)
CIE-LCHlch(61.25, 57.60, 100.50°)
OKLaboklab(66.24% -0.0351 0.124)
OKLCHoklch(66.24% 0.129 105.8)
XYZxyz(25.5022, 29.5369, 6.1078)
Luminance0.2954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9725 #252C9E
analogous
#9E5A25 #9E9725 #689E25
triadic
#9E9725 #259E97 #97259E
tetradic
#9E9725 #259E5A #252C9E #9E2568
square
#9E9725 #259E5A #252C9E #9E2568
split-complementary
#9E9725 #25689E #5A259E
monochromatic
#3B380E #6C6819 #9E9725 #CFC631 #DAD463

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E9725#FFFFFF#000000##000000
##9E97251.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)
#A5910B
Deuteranopia (green-blind)
#A7962E
Tritanopia (blue-blind)
#AA8C81
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9e9725;
/* rgb */ color: rgb(158, 151, 37);
/* oklch */ color: oklch(66.2% 0.129 105.8);
Tailwind
colors: {
  custom: {
    50: '#beb569',
    500: '#9e9725',
    950: '#000000',
  },
}
SCSS
$custom: #9e9725;
$custom-light: #beb569;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9725",
  "rgb": {
    "r": 158,
    "g": 151,
    "b": 37
  },
  "hsl": {
    "h": 56.529,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.66237,
    "c": 0.12891,
    "h": 105.8
  },
  "luminance": 0.29536
}

Semantic roles & 50–950 ramp

primary
#9E9725
secondary
#5F65C0
accent
#4CE543
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9725

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

Preview Lab → · Contrast checker → · Palette generator →

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