#9E941B#9E941B

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

Color values

HEX#9E941B
RGBrgb(158, 148, 27)
HSLhsl(55, 71%, 36%)
HSVhsv(55, 83%, 62%)
CMYKcmyk(0%, 6.3%, 82.9%, 38%)
CIE-LABlab(60.36, -9.27, 58.95)
CIE-LCHlch(60.36, 59.67, 98.94°)
OKLaboklab(65.51% -0.0325 0.1271)
OKLCHoklch(65.51% 0.131 104.3)
XYZxyz(24.8894, 28.5291, 5.2323)
Luminance0.2853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E941B #1B259E
analogous
#9E531B #9E941B #679E1B
triadic
#9E941B #1B9E94 #941B9E
tetradic
#9E941B #1B9E53 #1B259E #9E1B67
square
#9E941B #1B9E53 #1B259E #9E1B67
split-complementary
#9E941B #1B679E #531B9E
monochromatic
#353209 #6A6312 #9E941B #D2C524 #E1D652

Accessibility & contrast

On white

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

On black

6.71
#9E941B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E941B
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E941B#FFFFFF#000000##000000
##9E941B1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e941b;
/* rgb */ color: rgb(158, 148, 27);
/* oklch */ color: oklch(65.5% 0.131 104.3);
Tailwind
colors: {
  custom: {
    50: '#bfb364',
    500: '#9e941b',
    950: '#000000',
  },
}
SCSS
$custom: #9e941b;
$custom-light: #bfb364;
$custom-dark: #000000;
JSON
{
  "hex": "#9e941b",
  "rgb": {
    "r": 158,
    "g": 148,
    "b": 27
  },
  "hsl": {
    "h": 55.42,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.65514,
    "c": 0.13115,
    "h": 104.3
  },
  "luminance": 0.28528
}

Semantic roles & 50–950 ramp

primary
#9E941B
secondary
#5159C4
accent
#48EE3A
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9E941B

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

Preview Lab → · Contrast checker → · Palette generator →

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