#958326#958326

#958326 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.9% C 0.111 H 97.9°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#958326
RGBrgb(149, 131, 38)
HSLhsl(50, 59%, 37%)
HSVhsv(50, 74%, 58%)
CMYKcmyk(0%, 12.1%, 74.5%, 41.6%)
CIE-LABlab(54.83, -3.69, 49.89)
CIE-LCHlch(54.83, 50.03, 94.22°)
OKLaboklab(60.93% -0.0153 0.1103)
OKLCHoklch(60.93% 0.111 97.9)
XYZxyz(20.8616, 22.7632, 5.1282)
Luminance0.2276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958326 #263895
analogous
#954C26 #958326 #709526
triadic
#958326 #269583 #832695
tetradic
#958326 #26954C #263895 #952670
square
#958326 #26954C #263895 #952670
split-complementary
#958326 #267095 #4C2695
monochromatic
#332D0D #64581A #958326 #C6AE32 #D6C35F

Accessibility & contrast

On white

3.78
#958326 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#958326 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958326
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958326#FFFFFF#000000##000000
##9583261.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908017
Deuteranopia (green-blind)
#95862C
Tritanopia (blue-blind)
#A17971
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #958326;
/* rgb */ color: rgb(149, 131, 38);
/* oklch */ color: oklch(60.9% 0.111 97.9);
Tailwind
colors: {
  custom: {
    50: '#b8a667',
    500: '#958326',
    950: '#000000',
  },
}
SCSS
$custom: #958326;
$custom-light: #b8a667;
$custom-dark: #000000;
JSON
{
  "hex": "#958326",
  "rgb": {
    "r": 149,
    "g": 131,
    "b": 38
  },
  "hsl": {
    "h": 50.27,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60935,
    "c": 0.11134,
    "h": 97.9
  },
  "luminance": 0.22762
}

Semantic roles & 50–950 ramp

primary
#958326
secondary
#5B6BBB
accent
#5FE345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #958326

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

Preview Lab → · Contrast checker → · Palette generator →

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