#9E9E25#9E9E25

#9E9E25 is a light, vivid yellow. Relative luminance 0.319; OKLCH L 67.8% C 0.136 H 109.5°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#9E9E25
RGBrgb(158, 158, 37)
HSLhsl(60, 62%, 38%)
HSVhsv(60, 77%, 62%)
CMYKcmyk(0%, 0%, 76.6%, 38%)
CIE-LABlab(63.22, -14.18, 58.45)
CIE-LCHlch(63.22, 60.15, 103.63°)
OKLaboklab(67.81% -0.0454 0.1279)
OKLCHoklch(67.81% 0.136 109.5)
XYZxyz(26.6623, 31.8572, 6.4945)
Luminance0.3186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9E25 #25259E
analogous
#9E6125 #9E9E25 #619E25
triadic
#9E9E25 #259E9E #9E259E
tetradic
#9E9E25 #259E61 #25259E #9E2561
square
#9E9E25 #259E61 #25259E #9E2561
split-complementary
#9E9E25 #25619E #61259E
monochromatic
#3B3B0E #6C6C19 #9E9E25 #CFCF31 #DADA63

Accessibility & contrast

On white

2.85
#9E9E25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#9E9E25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9E25
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9E25#FFFFFF#000000##000000
##9E9E251.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9706
Deuteranopia (green-blind)
#AD9B2F
Tritanopia (blue-blind)
#AA9487
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9e9e25;
/* rgb */ color: rgb(158, 158, 37);
/* oklch */ color: oklch(67.8% 0.136 109.5);
Tailwind
colors: {
  custom: {
    50: '#beba6a',
    500: '#9e9e25',
    950: '#000000',
  },
}
SCSS
$custom: #9e9e25;
$custom-light: #beba6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9e25",
  "rgb": {
    "r": 158,
    "g": 158,
    "b": 37
  },
  "hsl": {
    "h": 60,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.67811,
    "c": 0.13572,
    "h": 109.5
  },
  "luminance": 0.31856
}

Semantic roles & 50–950 ramp

primary
#9E9E25
secondary
#5F5FC0
accent
#43E543
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9E25

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

Preview Lab → · Contrast checker → · Palette generator →

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