#9E931F#9E931F

#9E931F is a light, vivid yellow. Relative luminance 0.282; OKLCH L 65.3% C 0.128 H 103.6°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#9E931F
RGBrgb(158, 147, 31)
HSLhsl(55, 67%, 37%)
HSVhsv(55, 80%, 62%)
CMYKcmyk(0%, 7%, 80.4%, 38%)
CIE-LABlab(60.10, -8.60, 57.54)
CIE-LCHlch(60.10, 58.18, 98.50°)
OKLaboklab(65.31% -0.0303 0.1248)
OKLCHoklch(65.31% 0.128 103.6)
XYZxyz(24.7827, 28.2365, 5.4408)
Luminance0.2823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E931F #1F2A9E
analogous
#9E541F #9E931F #6A9E1F
triadic
#9E931F #1F9E93 #931F9E
tetradic
#9E931F #1F9E54 #1F2A9E #9E1F6A
square
#9E931F #1F9E54 #1F2A9E #9E1F6A
split-complementary
#9E931F #1F6A9E #541F9E
monochromatic
#38340B #6B6315 #9E931F #D1C329 #DED359

Accessibility & contrast

On white

3.16
#9E931F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#9E931F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E931F
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E931F#FFFFFF#000000##000000
##9E931F1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#A49329
Tritanopia (blue-blind)
#AA887E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9e931f;
/* rgb */ color: rgb(158, 147, 31);
/* oklch */ color: oklch(65.3% 0.128 103.6);
Tailwind
colors: {
  custom: {
    50: '#beb266',
    500: '#9e931f',
    950: '#000000',
  },
}
SCSS
$custom: #9e931f;
$custom-light: #beb266;
$custom-dark: #000000;
JSON
{
  "hex": "#9e931f",
  "rgb": {
    "r": 158,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 54.803,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.65312,
    "c": 0.12844,
    "h": 103.6
  },
  "luminance": 0.28235
}

Semantic roles & 50–950 ramp

primary
#9E931F
secondary
#5660C2
accent
#4DEA3E
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9E931F

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

Preview Lab → · Contrast checker → · Palette generator →

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