#9E951F#9E951F

#9E951F is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.8% C 0.130 H 104.8°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9E951F
RGBrgb(158, 149, 31)
HSLhsl(56, 67%, 37%)
HSVhsv(56, 80%, 62%)
CMYKcmyk(0%, 5.7%, 80.4%, 38%)
CIE-LABlab(60.66, -9.67, 58.04)
CIE-LCHlch(60.66, 58.84, 99.46°)
OKLaboklab(65.76% -0.0333 0.1259)
OKLCHoklch(65.76% 0.13 104.8)
XYZxyz(25.0964, 28.8639, 5.5454)
Luminance0.2886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E951F #1F289E
analogous
#9E561F #9E951F #689E1F
triadic
#9E951F #1F9E95 #951F9E
tetradic
#9E951F #1F9E56 #1F289E #9E1F68
square
#9E951F #1F9E56 #1F289E #9E1F68
split-complementary
#9E951F #1F689E #561F9E
monochromatic
#38350B #6B6515 #9E951F #D1C529 #DED559

Accessibility & contrast

On white

3.10
#9E951F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#9E951F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E951F
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E951F#FFFFFF#000000##000000
##9E951F1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#A69529
Tritanopia (blue-blind)
#AA8A7F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9e951f;
/* rgb */ color: rgb(158, 149, 31);
/* oklch */ color: oklch(65.8% 0.130 104.8);
Tailwind
colors: {
  custom: {
    50: '#beb366',
    500: '#9e951f',
    950: '#000000',
  },
}
SCSS
$custom: #9e951f;
$custom-light: #beb366;
$custom-dark: #000000;
JSON
{
  "hex": "#9e951f",
  "rgb": {
    "r": 158,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 55.748,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.65757,
    "c": 0.13021,
    "h": 104.8
  },
  "luminance": 0.28863
}

Semantic roles & 50–950 ramp

primary
#9E951F
secondary
#565EC2
accent
#4AEA3E
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9E951F

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

Preview Lab → · Contrast checker → · Palette generator →

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