#958828#958828

#958828 is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.1% C 0.114 H 101.4°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#958828
RGBrgb(149, 136, 40)
HSLhsl(53, 58%, 37%)
HSVhsv(53, 73%, 58%)
CMYKcmyk(0%, 8.7%, 73.2%, 41.6%)
CIE-LABlab(56.24, -6.34, 50.48)
CIE-LCHlch(56.24, 50.87, 97.16°)
OKLaboklab(62.06% -0.0226 0.1119)
OKLCHoklch(62.06% 0.114 101.4)
XYZxyz(21.5826, 24.1520, 5.5320)
Luminance0.2415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958828 #283595
analogous
#955228 #958828 #6C9528
triadic
#958828 #289588 #882895
tetradic
#958828 #289552 #283595 #95286C
square
#958828 #289552 #283595 #95286C
split-complementary
#958828 #286C95 #522895
monochromatic
#35300E #655C1B #958828 #C5B435 #D5C762

Accessibility & contrast

On white

3.60
#958828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#958828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958828
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958828#FFFFFF#000000##000000
##9588281.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958418
Deuteranopia (green-blind)
#99892E
Tritanopia (blue-blind)
#A17E75
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #958828;
/* rgb */ color: rgb(149, 136, 40);
/* oklch */ color: oklch(62.1% 0.114 101.4);
Tailwind
colors: {
  custom: {
    50: '#b7aa69',
    500: '#958828',
    950: '#000000',
  },
}
SCSS
$custom: #958828;
$custom-light: #b7aa69;
$custom-dark: #000000;
JSON
{
  "hex": "#958828",
  "rgb": {
    "r": 149,
    "g": 136,
    "b": 40
  },
  "hsl": {
    "h": 52.844,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.6206,
    "c": 0.11417,
    "h": 101.4
  },
  "luminance": 0.24151
}

Semantic roles & 50–950 ramp

primary
#958828
secondary
#5E69BB
accent
#59E147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #958828

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

Preview Lab → · Contrast checker → · Palette generator →

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