#958031#958031

#958031 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.4% C 0.101 H 94.2°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#958031
RGBrgb(149, 128, 49)
HSLhsl(47, 51%, 39%)
HSVhsv(47, 67%, 58%)
CMYKcmyk(0%, 14.1%, 67.1%, 41.6%)
CIE-LABlab(54.08, -1.40, 44.42)
CIE-LCHlch(54.08, 44.44, 91.80°)
OKLaboklab(60.37% -0.0074 0.1007)
OKLCHoklch(60.37% 0.101 94.2)
XYZxyz(20.6690, 22.0507, 6.0727)
Luminance0.2205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958031 #314695
analogous
#954E31 #958031 #789531
triadic
#958031 #319580 #803195
tetradic
#958031 #31954E #314695 #953178
square
#958031 #31954E #314695 #953178
split-complementary
#958031 #317895 #4E3195
monochromatic
#393113 #675822 #958031 #C1A642 #D0BC70

Accessibility & contrast

On white

3.88
#958031 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#958031 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958031
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958031#FFFFFF#000000##000000
##9580311.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E28
Deuteranopia (green-blind)
#928435
Tritanopia (blue-blind)
#A1766F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #958031;
/* rgb */ color: rgb(149, 128, 49);
/* oklch */ color: oklch(60.4% 0.101 94.2);
Tailwind
colors: {
  custom: {
    50: '#b7a46d',
    500: '#958031',
    950: '#000000',
  },
}
SCSS
$custom: #958031;
$custom-light: #b7a46d;
$custom-dark: #000000;
JSON
{
  "hex": "#958031",
  "rgb": {
    "r": 149,
    "g": 128,
    "b": 49
  },
  "hsl": {
    "h": 47.4,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60372,
    "c": 0.10099,
    "h": 94.2
  },
  "luminance": 0.2205
}

Semantic roles & 50–950 ramp

primary
#958031
secondary
#6A7AB8
accent
#6BDA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #958031

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

Preview Lab → · Contrast checker → · Palette generator →

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