#9E9415#9E9415

#9E9415 is a light, vivid yellow. Relative luminance 0.285; OKLCH L 65.5% C 0.134 H 104.5°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9E9415
RGBrgb(158, 148, 21)
HSLhsl(56, 77%, 35%)
HSVhsv(56, 87%, 62%)
CMYKcmyk(0%, 6.3%, 86.7%, 38%)
CIE-LABlab(60.34, -9.44, 60.47)
CIE-LCHlch(60.34, 61.20, 98.87°)
OKLaboklab(65.49% -0.0334 0.1293)
OKLCHoklch(65.49% 0.134 104.5)
XYZxyz(24.8270, 28.5041, 4.9034)
Luminance0.2850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9415 #151F9E
analogous
#9E4F15 #9E9415 #649E15
triadic
#9E9415 #159E94 #94159E
tetradic
#9E9415 #159E4F #151F9E #9E1564
square
#9E9415 #159E4F #151F9E #9E1564
split-complementary
#9E9415 #15649E #4F159E
monochromatic
#322F07 #68610E #9E9415 #D4C71C #E7DB47

Accessibility & contrast

On white

3.13
#9E9415 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#9E9415 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9415
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9415#FFFFFF#000000##000000
##9E94151.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#A59422
Tritanopia (blue-blind)
#AB897E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9e9415;
/* rgb */ color: rgb(158, 148, 21);
/* oklch */ color: oklch(65.5% 0.134 104.5);
Tailwind
colors: {
  custom: {
    50: '#bfb362',
    500: '#9e9415',
    950: '#000000',
  },
}
SCSS
$custom: #9e9415;
$custom-light: #bfb362;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9415",
  "rgb": {
    "r": 158,
    "g": 148,
    "b": 21
  },
  "hsl": {
    "h": 55.62,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.6549,
    "c": 0.1335,
    "h": 104.5
  },
  "luminance": 0.28503
}

Semantic roles & 50–950 ramp

primary
#9E9415
secondary
#4751C7
accent
#43F335
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9E9415

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

Preview Lab → · Contrast checker → · Palette generator →

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