#968520#968520

#968520 is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.4% C 0.117 H 99.1°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#968520
RGBrgb(150, 133, 32)
HSLhsl(51, 65%, 36%)
HSVhsv(51, 79%, 59%)
CMYKcmyk(0%, 11.3%, 78.7%, 41.2%)
CIE-LABlab(55.45, -4.60, 52.74)
CIE-LCHlch(55.45, 52.94, 94.98°)
OKLaboklab(61.44% -0.0185 0.1151)
OKLCHoklch(61.44% 0.117 99.1)
XYZxyz(21.2270, 23.3644, 4.7579)
Luminance0.2336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968520 #203196
analogous
#964A20 #968520 #6C9620
triadic
#968520 #209685 #852096
tetradic
#968520 #20964A #203196 #96206C
square
#968520 #20964A #203196 #96206C
split-complementary
#968520 #206C96 #4A2096
monochromatic
#312C0A #645815 #968520 #C8B22B #DBC856

Accessibility & contrast

On white

3.70
#968520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#968520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968520
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968520#FFFFFF#000000##000000
##9685201.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938109
Deuteranopia (green-blind)
#978727
Tritanopia (blue-blind)
#A27B72
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #968520;
/* rgb */ color: rgb(150, 133, 32);
/* oklch */ color: oklch(61.4% 0.117 99.1);
Tailwind
colors: {
  custom: {
    50: '#b9a864',
    500: '#968520',
    950: '#000000',
  },
}
SCSS
$custom: #968520;
$custom-light: #b9a864;
$custom-dark: #000000;
JSON
{
  "hex": "#968520",
  "rgb": {
    "r": 150,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 51.356,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61437,
    "c": 0.11656,
    "h": 99.1
  },
  "luminance": 0.23363
}

Semantic roles & 50–950 ramp

primary
#968520
secondary
#5363BE
accent
#58E840
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #968520

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

Preview Lab → · Contrast checker → · Palette generator →

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