#9E962B#9E962B

#9E962B is a light, vivid yellow. Relative luminance 0.293; OKLCH L 66.1% C 0.124 H 105.0°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9E962B
RGBrgb(158, 150, 43)
HSLhsl(56, 57%, 39%)
HSVhsv(56, 73%, 62%)
CMYKcmyk(0%, 5.1%, 72.8%, 38%)
CIE-LABlab(61.01, -9.69, 54.24)
CIE-LCHlch(61.01, 55.10, 100.13°)
OKLaboklab(66.05% -0.0322 0.1201)
OKLCHoklch(66.05% 0.124 105)
XYZxyz(25.4440, 29.2572, 6.5920)
Luminance0.2926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E962B #2B339E
analogous
#9E5D2B #9E962B #6D9E2B
triadic
#9E962B #2B9E96 #962B9E
tetradic
#9E962B #2B9E5D #2B339E #9E2B6D
square
#9E962B #2B9E5D #2B339E #9E2B6D
split-complementary
#9E962B #2B6D9E #5D2B9E
monochromatic
#3E3B11 #6E681E #9E962B #CAC03C #D7D06C

Accessibility & contrast

On white

3.07
#9E962B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#9E962B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E962B
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E962B#FFFFFF#000000##000000
##9E962B1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39118
Deuteranopia (green-blind)
#A69532
Tritanopia (blue-blind)
#AA8C81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9e962b;
/* rgb */ color: rgb(158, 150, 43);
/* oklch */ color: oklch(66.1% 0.124 105.0);
Tailwind
colors: {
  custom: {
    50: '#beb46c',
    500: '#9e962b',
    950: '#000000',
  },
}
SCSS
$custom: #9e962b;
$custom-light: #beb46c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e962b",
  "rgb": {
    "r": 158,
    "g": 150,
    "b": 43
  },
  "hsl": {
    "h": 55.826,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66054,
    "c": 0.12436,
    "h": 105
  },
  "luminance": 0.29256
}

Semantic roles & 50–950 ramp

primary
#9E962B
secondary
#676DBE
accent
#52E047
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9E962B

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

Preview Lab → · Contrast checker → · Palette generator →

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