#9B931E#9B931E

#9B931E is a light, vivid yellow. Relative luminance 0.279; OKLCH L 65.0% C 0.129 H 105.3°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9B931E
RGBrgb(155, 147, 30)
HSLhsl(56, 68%, 36%)
HSVhsv(56, 81%, 61%)
CMYKcmyk(0%, 5.2%, 80.6%, 39.2%)
CIE-LABlab(59.83, -9.99, 57.50)
CIE-LCHlch(59.83, 58.36, 99.86°)
OKLaboklab(65.03% -0.0341 0.1247)
OKLCHoklch(65.03% 0.129 105.3)
XYZxyz(24.1867, 27.9307, 5.3452)
Luminance0.2793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B931E #1E269B
analogous
#9B551E #9B931E #659B1E
triadic
#9B931E #1E9B93 #931E9B
tetradic
#9B931E #1E9B55 #1E269B #9B1E65
square
#9B931E #1E9B55 #1E269B #9B1E65
split-complementary
#9B931E #1E659B #551E9B
monochromatic
#34320A #686214 #9B931E #CEC428 #DED555

Accessibility & contrast

On white

3.19
#9B931E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#9B931E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B931E
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B931E#FFFFFF#000000##000000
##9B931E1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18D00
Deuteranopia (green-blind)
#A39228
Tritanopia (blue-blind)
#A7887E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9b931e;
/* rgb */ color: rgb(155, 147, 30);
/* oklch */ color: oklch(65.0% 0.129 105.3);
Tailwind
colors: {
  custom: {
    50: '#bcb265',
    500: '#9b931e',
    950: '#000000',
  },
}
SCSS
$custom: #9b931e;
$custom-light: #bcb265;
$custom-dark: #000000;
JSON
{
  "hex": "#9b931e",
  "rgb": {
    "r": 155,
    "g": 147,
    "b": 30
  },
  "hsl": {
    "h": 56.16,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.65026,
    "c": 0.12925,
    "h": 105.3
  },
  "luminance": 0.2793
}

Semantic roles & 50–950 ramp

primary
#9B931E
secondary
#535AC2
accent
#48EA3D
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9B931E

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

Preview Lab → · Contrast checker → · Palette generator →

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