#9E9315#9E9315

#9E9315 is a light, vivid yellow. Relative luminance 0.282; OKLCH L 65.3% C 0.133 H 103.9°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9E9315
RGBrgb(158, 147, 21)
HSLhsl(55, 77%, 35%)
HSVhsv(55, 87%, 62%)
CMYKcmyk(0%, 7%, 86.7%, 38%)
CIE-LABlab(60.06, -8.90, 60.24)
CIE-LCHlch(60.06, 60.89, 98.41°)
OKLaboklab(65.27% -0.0319 0.1287)
OKLCHoklch(65.27% 0.133 103.9)
XYZxyz(24.6708, 28.1918, 4.8514)
Luminance0.2819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9315 #15209E
analogous
#9E4E15 #9E9315 #659E15
triadic
#9E9315 #159E93 #93159E
tetradic
#9E9315 #159E4E #15209E #9E1565
square
#9E9315 #159E4E #15209E #9E1565
split-complementary
#9E9315 #15659E #4E159E
monochromatic
#322E07 #68610E #9E9315 #D4C51C #E7DA47

Accessibility & contrast

On white

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

On black

6.64
#9E9315 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9315
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9315#FFFFFF#000000##000000
##9E93151.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#A59322
Tritanopia (blue-blind)
#AB887D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9e9315;
/* rgb */ color: rgb(158, 147, 21);
/* oklch */ color: oklch(65.3% 0.133 103.9);
Tailwind
colors: {
  custom: {
    50: '#bfb262',
    500: '#9e9315',
    950: '#000000',
  },
}
SCSS
$custom: #9e9315;
$custom-light: #bfb262;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9315",
  "rgb": {
    "r": 158,
    "g": 147,
    "b": 21
  },
  "hsl": {
    "h": 55.182,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.65267,
    "c": 0.13264,
    "h": 103.9
  },
  "luminance": 0.28191
}

Semantic roles & 50–950 ramp

primary
#9E9315
secondary
#4752C7
accent
#44F335
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9E9315

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

Preview Lab → · Contrast checker → · Palette generator →

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