#958528#958528

#958528 is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.4% C 0.112 H 99.2°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#958528
RGBrgb(149, 133, 40)
HSLhsl(51, 58%, 37%)
HSVhsv(51, 73%, 58%)
CMYKcmyk(0%, 10.7%, 73.2%, 41.6%)
CIE-LABlab(55.40, -4.69, 49.65)
CIE-LCHlch(55.40, 49.87, 95.40°)
OKLaboklab(61.39% -0.0179 0.1102)
OKLCHoklch(61.39% 0.112 99.2)
XYZxyz(21.1660, 23.3188, 5.3932)
Luminance0.2332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958528 #283895
analogous
#954F28 #958528 #6E9528
triadic
#958528 #289585 #852895
tetradic
#958528 #28954F #283895 #95286E
square
#958528 #28954F #283895 #95286E
split-complementary
#958528 #286E95 #4F2895
monochromatic
#352F0E #655A1B #958528 #C5B035 #D5C462

Accessibility & contrast

On white

3.71
#958528 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#958528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958528
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958528#FFFFFF#000000##000000
##9585281.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928119
Deuteranopia (green-blind)
#97872E
Tritanopia (blue-blind)
#A17B73
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #958528;
/* rgb */ color: rgb(149, 133, 40);
/* oklch */ color: oklch(61.4% 0.112 99.2);
Tailwind
colors: {
  custom: {
    50: '#b7a868',
    500: '#958528',
    950: '#000000',
  },
}
SCSS
$custom: #958528;
$custom-light: #b7a868;
$custom-dark: #000000;
JSON
{
  "hex": "#958528",
  "rgb": {
    "r": 149,
    "g": 133,
    "b": 40
  },
  "hsl": {
    "h": 51.193,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61393,
    "c": 0.11162,
    "h": 99.2
  },
  "luminance": 0.23318
}

Semantic roles & 50–950 ramp

primary
#958528
secondary
#5E6CBB
accent
#5DE147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #958528

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

Preview Lab → · Contrast checker → · Palette generator →

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