#958822#958822

#958822 is a light, moderate yellow. Relative luminance 0.241; OKLCH L 62.0% C 0.118 H 101.7°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#958822
RGBrgb(149, 136, 34)
HSLhsl(53, 63%, 36%)
HSVhsv(53, 77%, 58%)
CMYKcmyk(0%, 8.7%, 77.2%, 41.6%)
CIE-LABlab(56.20, -6.62, 52.70)
CIE-LCHlch(56.20, 53.11, 97.16°)
OKLaboklab(62.02% -0.024 0.1155)
OKLCHoklch(62.02% 0.118 101.7)
XYZxyz(21.4883, 24.1143, 5.0357)
Luminance0.2411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958822 #222F95
analogous
#954E22 #958822 #689522
triadic
#958822 #229588 #882295
tetradic
#958822 #22954E #222F95 #952268
square
#958822 #22954E #222F95 #952268
split-complementary
#958822 #226895 #4E2295
monochromatic
#312D0B #635B17 #958822 #C7B52D #D9CA58

Accessibility & contrast

On white

3.61
#958822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#958822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958822
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958822#FFFFFF#000000##000000
##9588221.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#95840C
Deuteranopia (green-blind)
#998929
Tritanopia (blue-blind)
#A17E75
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #958822;
/* rgb */ color: rgb(149, 136, 34);
/* oklch */ color: oklch(62.0% 0.118 101.7);
Tailwind
colors: {
  custom: {
    50: '#b8aa66',
    500: '#958822',
    950: '#000000',
  },
}
SCSS
$custom: #958822;
$custom-light: #b8aa66;
$custom-dark: #000000;
JSON
{
  "hex": "#958822",
  "rgb": {
    "r": 149,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 53.217,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.62018,
    "c": 0.11791,
    "h": 101.7
  },
  "luminance": 0.24113
}

Semantic roles & 50–950 ramp

primary
#958822
secondary
#5661BD
accent
#54E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #958822

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

Preview Lab → · Contrast checker → · Palette generator →

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