#968720#968720

#968720 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.9% C 0.118 H 100.6°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#968720
RGBrgb(150, 135, 32)
HSLhsl(52, 65%, 36%)
HSVhsv(52, 79%, 59%)
CMYKcmyk(0%, 10%, 78.7%, 41.2%)
CIE-LABlab(56.00, -5.70, 53.25)
CIE-LCHlch(56.00, 53.55, 96.11°)
OKLaboklab(61.88% -0.0216 0.1162)
OKLCHoklch(61.88% 0.118 100.6)
XYZxyz(21.5034, 23.9173, 4.8501)
Luminance0.2392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968720 #202F96
analogous
#964C20 #968720 #6A9620
triadic
#968720 #209687 #872096
tetradic
#968720 #20964C #202F96 #96206A
square
#968720 #20964C #202F96 #96206A
split-complementary
#968720 #206A96 #4C2096
monochromatic
#312C0A #645A15 #968720 #C8B42B #DBCA56

Accessibility & contrast

On white

3.63
#968720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#968720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968720
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968720#FFFFFF#000000##000000
##9687201.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958308
Deuteranopia (green-blind)
#998928
Tritanopia (blue-blind)
#A27D74
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #968720;
/* rgb */ color: rgb(150, 135, 32);
/* oklch */ color: oklch(61.9% 0.118 100.6);
Tailwind
colors: {
  custom: {
    50: '#b9a965',
    500: '#968720',
    950: '#000000',
  },
}
SCSS
$custom: #968720;
$custom-light: #b9a965;
$custom-dark: #000000;
JSON
{
  "hex": "#968720",
  "rgb": {
    "r": 150,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 52.373,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.6188,
    "c": 0.11818,
    "h": 100.6
  },
  "luminance": 0.23916
}

Semantic roles & 50–950 ramp

primary
#968720
secondary
#5361BE
accent
#55E840
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #968720

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

Preview Lab → · Contrast checker → · Palette generator →

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