#9E962A#9E962A

#9E962A is a light, vivid yellow. Relative luminance 0.292; OKLCH L 66.0% C 0.125 H 105.1°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9E962A
RGBrgb(158, 150, 42)
HSLhsl(56, 58%, 39%)
HSVhsv(56, 73%, 62%)
CMYKcmyk(0%, 5.1%, 73.4%, 38%)
CIE-LABlab(61.00, -9.73, 54.61)
CIE-LCHlch(61.00, 55.47, 100.11°)
OKLaboklab(66.05% -0.0325 0.1207)
OKLCHoklch(66.05% 0.125 105.1)
XYZxyz(25.4259, 29.2499, 6.4965)
Luminance0.2925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E962A #2A329E
analogous
#9E5C2A #9E962A #6C9E2A
triadic
#9E962A #2A9E96 #962A9E
tetradic
#9E962A #2A9E5C #2A329E #9E2A6C
square
#9E962A #2A9E5C #2A329E #9E2A6C
split-complementary
#9E962A #2A6C9E #5C2A9E
monochromatic
#3D3A10 #6E681D #9E962A #CBC13A #D8D06B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E962A#FFFFFF#000000##000000
##9E962A1.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)
#A39117
Deuteranopia (green-blind)
#A69532
Tritanopia (blue-blind)
#AA8C81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9e962a;
/* rgb */ color: rgb(158, 150, 42);
/* oklch */ color: oklch(66.0% 0.125 105.1);
Tailwind
colors: {
  custom: {
    50: '#beb46b',
    500: '#9e962a',
    950: '#000000',
  },
}
SCSS
$custom: #9e962a;
$custom-light: #beb46b;
$custom-dark: #000000;
JSON
{
  "hex": "#9e962a",
  "rgb": {
    "r": 158,
    "g": 150,
    "b": 42
  },
  "hsl": {
    "h": 55.862,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.66047,
    "c": 0.125,
    "h": 105.1
  },
  "luminance": 0.29249
}

Semantic roles & 50–950 ramp

primary
#9E962A
secondary
#666CBE
accent
#51E147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9E962A

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

Preview Lab → · Contrast checker → · Palette generator →

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