#9E9B15#9E9B15

#9E9B15 is a light, vivid yellow. Relative luminance 0.308; OKLCH L 67.1% C 0.140 H 108.2°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#9E9B15
RGBrgb(158, 155, 21)
HSLhsl(59, 77%, 35%)
HSVhsv(59, 87%, 62%)
CMYKcmyk(0%, 1.9%, 86.7%, 38%)
CIE-LABlab(62.31, -13.14, 62.08)
CIE-LCHlch(62.31, 63.46, 101.95°)
OKLaboklab(67.06% -0.0437 0.1328)
OKLCHoklch(67.06% 0.14 108.2)
XYZxyz(25.9584, 30.7668, 5.2805)
Luminance0.3077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9B15 #15189E
analogous
#9E5615 #9E9B15 #5D9E15
triadic
#9E9B15 #159E9B #9B159E
tetradic
#9E9B15 #159E56 #15189E #9E155D
square
#9E9B15 #159E56 #15189E #9E155D
split-complementary
#9E9B15 #155D9E #56159E
monochromatic
#323107 #68660E #9E9B15 #D4D01C #E7E347

Accessibility & contrast

On white

2.94
#9E9B15 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#9E9B15 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9B15
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9B15#FFFFFF#000000##000000
##9E9B151.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99400
Deuteranopia (green-blind)
#AB9924
Tritanopia (blue-blind)
#AA9084
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9e9b15;
/* rgb */ color: rgb(158, 155, 21);
/* oklch */ color: oklch(67.1% 0.140 108.2);
Tailwind
colors: {
  custom: {
    50: '#bfb863',
    500: '#9e9b15',
    950: '#000000',
  },
}
SCSS
$custom: #9e9b15;
$custom-light: #bfb863;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9b15",
  "rgb": {
    "r": 158,
    "g": 155,
    "b": 21
  },
  "hsl": {
    "h": 58.686,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.67059,
    "c": 0.1398,
    "h": 108.2
  },
  "luminance": 0.30766
}

Semantic roles & 50–950 ramp

primary
#9E9B15
secondary
#474AC7
accent
#39F335
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9E9B15

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

Preview Lab → · Contrast checker → · Palette generator →

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