#9E9325#9E9325

#9E9325 is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.3% C 0.125 H 103.4°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#9E9325
RGBrgb(158, 147, 37)
HSLhsl(55, 62%, 38%)
HSVhsv(55, 77%, 62%)
CMYKcmyk(0%, 7%, 76.6%, 38%)
CIE-LABlab(60.13, -8.36, 55.60)
CIE-LCHlch(60.13, 56.22, 98.55°)
OKLaboklab(65.35% -0.0291 0.1218)
OKLCHoklch(65.35% 0.125 103.4)
XYZxyz(24.8693, 28.2712, 5.8968)
Luminance0.2827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9325 #25309E
analogous
#9E5625 #9E9325 #6D9E25
triadic
#9E9325 #259E93 #93259E
tetradic
#9E9325 #259E56 #25309E #9E256D
square
#9E9325 #259E56 #25309E #9E256D
split-complementary
#9E9325 #256D9E #56259E
monochromatic
#3B370E #6C6519 #9E9325 #CFC131 #DAD063

Accessibility & contrast

On white

3.16
#9E9325 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#9E9325 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9325
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9325#FFFFFF#000000##000000
##9E93251.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E0D
Deuteranopia (green-blind)
#A4932D
Tritanopia (blue-blind)
#AA887E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9e9325;
/* rgb */ color: rgb(158, 147, 37);
/* oklch */ color: oklch(65.3% 0.125 103.4);
Tailwind
colors: {
  custom: {
    50: '#beb269',
    500: '#9e9325',
    950: '#000000',
  },
}
SCSS
$custom: #9e9325;
$custom-light: #beb269;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9325",
  "rgb": {
    "r": 158,
    "g": 147,
    "b": 37
  },
  "hsl": {
    "h": 54.545,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.65346,
    "c": 0.12525,
    "h": 103.4
  },
  "luminance": 0.2827
}

Semantic roles & 50–950 ramp

primary
#9E9325
secondary
#5F68C0
accent
#51E543
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9E9325

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

Preview Lab → · Contrast checker → · Palette generator →

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