#9E901B#9E901B

#9E901B is a light, vivid yellow. Relative luminance 0.273; OKLCH L 64.6% C 0.128 H 102.0°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#9E901B
RGBrgb(158, 144, 27)
HSLhsl(54, 71%, 36%)
HSVhsv(54, 83%, 62%)
CMYKcmyk(0%, 8.9%, 82.9%, 38%)
CIE-LABlab(59.25, -7.12, 57.99)
CIE-LCHlch(59.25, 58.42, 97.00°)
OKLaboklab(64.63% -0.0265 0.125)
OKLCHoklch(64.63% 0.128 102)
XYZxyz(24.2728, 27.2959, 5.0268)
Luminance0.2730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E901B #1B299E
analogous
#9E4F1B #9E901B #6B9E1B
triadic
#9E901B #1B9E90 #901B9E
tetradic
#9E901B #1B9E4F #1B299E #9E1B6B
square
#9E901B #1B9E4F #1B299E #9E1B6B
split-complementary
#9E901B #1B6B9E #4F1B9E
monochromatic
#353109 #6A6012 #9E901B #D2C024 #E1D252

Accessibility & contrast

On white

3.25
#9E901B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#9E901B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E901B
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E901B#FFFFFF#000000##000000
##9E901B1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#A29125
Tritanopia (blue-blind)
#AB857B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9e901b;
/* rgb */ color: rgb(158, 144, 27);
/* oklch */ color: oklch(64.6% 0.128 102.0);
Tailwind
colors: {
  custom: {
    50: '#bfb064',
    500: '#9e901b',
    950: '#000000',
  },
}
SCSS
$custom: #9e901b;
$custom-light: #bfb064;
$custom-dark: #000000;
JSON
{
  "hex": "#9e901b",
  "rgb": {
    "r": 158,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 53.588,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64626,
    "c": 0.12774,
    "h": 102
  },
  "luminance": 0.27295
}

Semantic roles & 50–950 ramp

primary
#9E901B
secondary
#515DC4
accent
#4DEE3A
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9E901B

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

Preview Lab → · Contrast checker → · Palette generator →

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