#959931#959931

#959931 is a light, vivid yellow. Relative luminance 0.294; OKLCH L 66.0% C 0.125 H 111.5°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#959931
RGBrgb(149, 153, 49)
HSLhsl(62, 51%, 40%)
HSVhsv(62, 68%, 60%)
CMYKcmyk(2.6%, 0%, 68%, 40%)
CIE-LABlab(61.13, -14.93, 51.74)
CIE-LCHlch(61.13, 53.85, 106.10°)
OKLaboklab(65.98% -0.0458 0.1162)
OKLCHoklch(65.98% 0.125 111.5)
XYZxyz(24.3408, 29.3944, 7.2966)
Luminance0.2939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959931 #353199
analogous
#996931 #959931 #619931
triadic
#959931 #319599 #993195
tetradic
#959931 #319969 #353199 #993161
square
#959931 #319969 #353199 #993161
split-complementary
#959931 #316199 #693199
monochromatic
#3B3C13 #686B22 #959931 #BEC344 #CED272

Accessibility & contrast

On white

3.05
#959931 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#959931 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #959931
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##959931#FFFFFF#000000##000000
##9599311.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59222
Deuteranopia (green-blind)
#A59538
Tritanopia (blue-blind)
#9F9084
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #959931;
/* rgb */ color: rgb(149, 153, 49);
/* oklch */ color: oklch(66.0% 0.125 111.5);
Tailwind
colors: {
  custom: {
    50: '#b7b66f',
    500: '#959931',
    950: '#000000',
  },
}
SCSS
$custom: #959931;
$custom-light: #b7b66f;
$custom-dark: #000000;
JSON
{
  "hex": "#959931",
  "rgb": {
    "r": 149,
    "g": 153,
    "b": 49
  },
  "hsl": {
    "h": 62.308,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65976,
    "c": 0.1249,
    "h": 111.5
  },
  "luminance": 0.29394
}

Semantic roles & 50–950 ramp

primary
#959931
secondary
#6F6CBA
accent
#4DDB52
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #959931

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

Preview Lab → · Contrast checker → · Palette generator →

#959931 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva