#958328#958328

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

Color values

HEX#958328
RGBrgb(149, 131, 40)
HSLhsl(50, 58%, 37%)
HSVhsv(50, 73%, 58%)
CMYKcmyk(0%, 12.1%, 73.2%, 41.6%)
CIE-LABlab(54.84, -3.58, 49.10)
CIE-LCHlch(54.84, 49.23, 94.18°)
OKLaboklab(60.95% -0.0147 0.109)
OKLCHoklch(60.95% 0.11 97.7)
XYZxyz(20.8947, 22.7764, 5.3028)
Luminance0.2278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958328 #283A95
analogous
#954D28 #958328 #719528
triadic
#958328 #289583 #832895
tetradic
#958328 #28954D #283A95 #952871
square
#958328 #28954D #283A95 #952871
split-complementary
#958328 #287195 #4D2895
monochromatic
#352E0E #65591B #958328 #C5AD35 #D5C262

Accessibility & contrast

On white

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

On black

5.56
#958328 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958328
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958328#FFFFFF#000000##000000
##9583281.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801A
Deuteranopia (green-blind)
#95862D
Tritanopia (blue-blind)
#A17971
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #958328;
/* rgb */ color: rgb(149, 131, 40);
/* oklch */ color: oklch(61.0% 0.110 97.7);
Tailwind
colors: {
  custom: {
    50: '#b8a668',
    500: '#958328',
    950: '#000000',
  },
}
SCSS
$custom: #958328;
$custom-light: #b8a668;
$custom-dark: #000000;
JSON
{
  "hex": "#958328",
  "rgb": {
    "r": 149,
    "g": 131,
    "b": 40
  },
  "hsl": {
    "h": 50.092,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60951,
    "c": 0.11,
    "h": 97.7
  },
  "luminance": 0.22775
}

Semantic roles & 50–950 ramp

primary
#958328
secondary
#5E6DBB
accent
#60E147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #958328

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

Preview Lab → · Contrast checker → · Palette generator →

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