#9E921B#9E921B

#9E921B is a light, vivid yellow. Relative luminance 0.279; OKLCH L 65.1% C 0.129 H 103.2°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#9E921B
RGBrgb(158, 146, 27)
HSLhsl(55, 71%, 36%)
HSVhsv(55, 83%, 62%)
CMYKcmyk(0%, 7.6%, 82.9%, 38%)
CIE-LABlab(59.80, -8.20, 58.47)
CIE-LCHlch(59.80, 59.04, 97.98°)
OKLaboklab(65.07% -0.0295 0.126)
OKLCHoklch(65.07% 0.129 103.2)
XYZxyz(24.5784, 27.9071, 5.1287)
Luminance0.2791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E921B #1B279E
analogous
#9E511B #9E921B #699E1B
triadic
#9E921B #1B9E92 #921B9E
tetradic
#9E921B #1B9E51 #1B279E #9E1B69
square
#9E921B #1B9E51 #1B279E #9E1B69
split-complementary
#9E921B #1B699E #511B9E
monochromatic
#353109 #6A6212 #9E921B #D2C224 #E1D452

Accessibility & contrast

On white

3.19
#9E921B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#9E921B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E921B
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E921B#FFFFFF#000000##000000
##9E921B1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#A49225
Tritanopia (blue-blind)
#AB877D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9e921b;
/* rgb */ color: rgb(158, 146, 27);
/* oklch */ color: oklch(65.1% 0.129 103.2);
Tailwind
colors: {
  custom: {
    50: '#bfb164',
    500: '#9e921b',
    950: '#000000',
  },
}
SCSS
$custom: #9e921b;
$custom-light: #bfb164;
$custom-dark: #000000;
JSON
{
  "hex": "#9e921b",
  "rgb": {
    "r": 158,
    "g": 146,
    "b": 27
  },
  "hsl": {
    "h": 54.504,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6507,
    "c": 0.12943,
    "h": 103.2
  },
  "luminance": 0.27906
}

Semantic roles & 50–950 ramp

primary
#9E921B
secondary
#515BC4
accent
#4BEE3A
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9E921B

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

Preview Lab → · Contrast checker → · Palette generator →

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