#959331#959331

#959331 is a light, moderate yellow. Relative luminance 0.275; OKLCH L 64.6% C 0.118 H 108.2°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#959331
RGBrgb(149, 147, 49)
HSLhsl(59, 51%, 39%)
HSVhsv(59, 67%, 58%)
CMYKcmyk(0%, 1.3%, 67.1%, 41.6%)
CIE-LABlab(59.42, -11.77, 49.99)
CIE-LCHlch(59.42, 51.36, 103.25°)
OKLaboklab(64.61% -0.0369 0.1125)
OKLCHoklch(64.61% 0.118 108.2)
XYZxyz(23.3833, 27.4795, 6.9775)
Luminance0.2748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959331 #313395
analogous
#956131 #959331 #659531
triadic
#959331 #319593 #933195
tetradic
#959331 #319561 #313395 #953165
square
#959331 #319561 #313395 #953165
split-complementary
#959331 #316595 #613195
monochromatic
#393813 #676622 #959331 #C1BE42 #D0CE70

Accessibility & contrast

On white

3.23
#959331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#959331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #959331
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##959331#FFFFFF#000000##000000
##9593311.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D23
Deuteranopia (green-blind)
#A19137
Tritanopia (blue-blind)
#A08A7F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #959331;
/* rgb */ color: rgb(149, 147, 49);
/* oklch */ color: oklch(64.6% 0.118 108.2);
Tailwind
colors: {
  custom: {
    50: '#b7b26f',
    500: '#959331',
    950: '#000000',
  },
}
SCSS
$custom: #959331;
$custom-light: #b7b26f;
$custom-dark: #000000;
JSON
{
  "hex": "#959331",
  "rgb": {
    "r": 149,
    "g": 147,
    "b": 49
  },
  "hsl": {
    "h": 58.8,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.64608,
    "c": 0.11841,
    "h": 108.2
  },
  "luminance": 0.27479
}

Semantic roles & 50–950 ramp

primary
#959331
secondary
#6A6CB8
accent
#51DA4E
background
#FBFAF6
surface
#F6F5EC
border
#D0CFC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #959331

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

Preview Lab → · Contrast checker → · Palette generator →

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