#9E962F#9E962F

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

Color values

HEX#9E962F
RGBrgb(158, 150, 47)
HSLhsl(56, 54%, 40%)
HSVhsv(56, 70%, 62%)
CMYKcmyk(0%, 5.1%, 70.3%, 38%)
CIE-LABlab(61.03, -9.48, 52.71)
CIE-LCHlch(61.03, 53.55, 100.19°)
OKLaboklab(66.08% -0.0312 0.1176)
OKLCHoklch(66.08% 0.122 104.9)
XYZxyz(25.5210, 29.2880, 6.9976)
Luminance0.2929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E962F #2F379E
analogous
#9E5F2F #9E962F #6E9E2F
triadic
#9E962F #2F9E96 #962F9E
tetradic
#9E962F #2F9E5F #2F379E #9E2F6E
square
#9E962F #2F9E5F #2F379E #9E2F6E
split-complementary
#9E962F #2F6E9E #5F2F9E
monochromatic
#403C13 #6F6921 #9E962F #C7BE43 #D5CE72

Accessibility & contrast

On white

3.06
#9E962F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#9E962F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E962F
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E962F#FFFFFF#000000##000000
##9E962F1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e962f;
/* rgb */ color: rgb(158, 150, 47);
/* oklch */ color: oklch(66.1% 0.122 104.9);
Tailwind
colors: {
  custom: {
    50: '#beb46e',
    500: '#9e962f',
    950: '#000000',
  },
}
SCSS
$custom: #9e962f;
$custom-light: #beb46e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e962f",
  "rgb": {
    "r": 158,
    "g": 150,
    "b": 47
  },
  "hsl": {
    "h": 55.676,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66084,
    "c": 0.12168,
    "h": 104.9
  },
  "luminance": 0.29287
}

Semantic roles & 50–950 ramp

primary
#9E962F
secondary
#6C72BD
accent
#55DE4A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #9E962F

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

Preview Lab → · Contrast checker → · Palette generator →

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