#9E911B#9E911B

#9E911B is a light, vivid yellow. Relative luminance 0.276; OKLCH L 64.8% C 0.129 H 102.6°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#9E911B
RGBrgb(158, 145, 27)
HSLhsl(54, 71%, 36%)
HSVhsv(54, 83%, 62%)
CMYKcmyk(0%, 8.2%, 82.9%, 38%)
CIE-LABlab(59.53, -7.66, 58.23)
CIE-LCHlch(59.53, 58.73, 97.49°)
OKLaboklab(64.85% -0.028 0.1255)
OKLCHoklch(64.85% 0.129 102.6)
XYZxyz(24.4250, 27.6001, 5.0775)
Luminance0.2760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E911B #1B289E
analogous
#9E501B #9E911B #6A9E1B
triadic
#9E911B #1B9E91 #911B9E
tetradic
#9E911B #1B9E50 #1B289E #9E1B6A
square
#9E911B #1B9E50 #1B289E #9E1B6A
split-complementary
#9E911B #1B6A9E #501B9E
monochromatic
#353109 #6A6112 #9E911B #D2C124 #E1D352

Accessibility & contrast

On white

3.22
#9E911B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#9E911B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E911B
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E911B#FFFFFF#000000##000000
##9E911B1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#A39225
Tritanopia (blue-blind)
#AB867C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9e911b;
/* rgb */ color: rgb(158, 145, 27);
/* oklch */ color: oklch(64.8% 0.129 102.6);
Tailwind
colors: {
  custom: {
    50: '#bfb064',
    500: '#9e911b',
    950: '#000000',
  },
}
SCSS
$custom: #9e911b;
$custom-light: #bfb064;
$custom-dark: #000000;
JSON
{
  "hex": "#9e911b",
  "rgb": {
    "r": 158,
    "g": 145,
    "b": 27
  },
  "hsl": {
    "h": 54.046,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64848,
    "c": 0.12858,
    "h": 102.6
  },
  "luminance": 0.27599
}

Semantic roles & 50–950 ramp

primary
#9E911B
secondary
#515CC4
accent
#4CEE3A
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9E911B

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

Preview Lab → · Contrast checker → · Palette generator →

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