#9E9825#9E9825

#9E9825 is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.5% C 0.130 H 106.4°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9E9825
RGBrgb(158, 152, 37)
HSLhsl(57, 62%, 38%)
HSVhsv(57, 77%, 62%)
CMYKcmyk(0%, 3.8%, 76.6%, 38%)
CIE-LABlab(61.53, -11.03, 56.89)
CIE-LCHlch(61.53, 57.95, 100.97°)
OKLaboklab(66.46% -0.0366 0.1246)
OKLCHoklch(66.46% 0.13 106.4)
XYZxyz(25.6638, 29.8601, 6.1616)
Luminance0.2986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9825 #252B9E
analogous
#9E5B25 #9E9825 #679E25
triadic
#9E9825 #259E98 #98259E
tetradic
#9E9825 #259E5B #252B9E #9E2567
square
#9E9825 #259E5B #252B9E #9E2567
split-complementary
#9E9825 #25679E #5B259E
monochromatic
#3B390E #6C6819 #9E9825 #CFC731 #DAD563

Accessibility & contrast

On white

3.01
#9E9825 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#9E9825 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9825
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9825#FFFFFF#000000##000000
##9E98251.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5920A
Deuteranopia (green-blind)
#A8972E
Tritanopia (blue-blind)
#AA8D82
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9e9825;
/* rgb */ color: rgb(158, 152, 37);
/* oklch */ color: oklch(66.5% 0.130 106.4);
Tailwind
colors: {
  custom: {
    50: '#beb669',
    500: '#9e9825',
    950: '#000000',
  },
}
SCSS
$custom: #9e9825;
$custom-light: #beb669;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9825",
  "rgb": {
    "r": 158,
    "g": 152,
    "b": 37
  },
  "hsl": {
    "h": 57.025,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.66461,
    "c": 0.12985,
    "h": 106.4
  },
  "luminance": 0.29859
}

Semantic roles & 50–950 ramp

primary
#9E9825
secondary
#5F64C0
accent
#4BE543
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9825

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

Preview Lab → · Contrast checker → · Palette generator →

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