#958331#958331

#958331 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 61.0% C 0.103 H 96.8°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#958331
RGBrgb(149, 131, 49)
HSLhsl(49, 51%, 39%)
HSVhsv(49, 67%, 58%)
CMYKcmyk(0%, 12.1%, 67.1%, 41.6%)
CIE-LABlab(54.91, -3.07, 45.30)
CIE-LCHlch(54.91, 45.40, 93.87°)
OKLaboklab(61.03% -0.0122 0.1026)
OKLCHoklch(61.03% 0.103 96.8)
XYZxyz(21.0661, 22.8449, 6.2050)
Luminance0.2284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958331 #314395
analogous
#955131 #958331 #759531
triadic
#958331 #319583 #833195
tetradic
#958331 #319551 #314395 #953175
square
#958331 #319551 #314395 #953175
split-complementary
#958331 #317595 #513195
monochromatic
#393213 #675B22 #958331 #C1AA42 #D0BF70

Accessibility & contrast

On white

3.77
#958331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#958331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958331
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958331#FFFFFF#000000##000000
##9583311.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#908027
Deuteranopia (green-blind)
#958635
Tritanopia (blue-blind)
#A17972
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #958331;
/* rgb */ color: rgb(149, 131, 49);
/* oklch */ color: oklch(61.0% 0.103 96.8);
Tailwind
colors: {
  custom: {
    50: '#b7a66d',
    500: '#958331',
    950: '#000000',
  },
}
SCSS
$custom: #958331;
$custom-light: #b7a66d;
$custom-dark: #000000;
JSON
{
  "hex": "#958331",
  "rgb": {
    "r": 149,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 49.2,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.6103,
    "c": 0.10331,
    "h": 96.8
  },
  "luminance": 0.22844
}

Semantic roles & 50–950 ramp

primary
#958331
secondary
#6A78B8
accent
#67DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #958331

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

Preview Lab → · Contrast checker → · Palette generator →

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