#968822#968822

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

Color values

HEX#968822
RGBrgb(150, 136, 34)
HSLhsl(53, 63%, 36%)
HSVhsv(53, 77%, 59%)
CMYKcmyk(0%, 9.3%, 77.3%, 41.2%)
CIE-LABlab(56.30, -6.16, 52.82)
CIE-LCHlch(56.30, 53.18, 96.65°)
OKLaboklab(62.11% -0.0227 0.1157)
OKLCHoklch(62.11% 0.118 101.1)
XYZxyz(21.6716, 24.2088, 5.0443)
Luminance0.2421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968822 #223096
analogous
#964E22 #968822 #6A9622
triadic
#968822 #229688 #882296
tetradic
#968822 #22964E #223096 #96226A
square
#968822 #22964E #223096 #96226A
split-complementary
#968822 #226A96 #4E2296
monochromatic
#322E0B #645B17 #968822 #C8B52D #D9CA59

Accessibility & contrast

On white

3.59
#968822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#968822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968822
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968822#FFFFFF#000000##000000
##9688221.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #968822;
/* rgb */ color: rgb(150, 136, 34);
/* oklch */ color: oklch(62.1% 0.118 101.1);
Tailwind
colors: {
  custom: {
    50: '#b8aa66',
    500: '#968822',
    950: '#000000',
  },
}
SCSS
$custom: #968822;
$custom-light: #b8aa66;
$custom-dark: #000000;
JSON
{
  "hex": "#968822",
  "rgb": {
    "r": 150,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 52.759,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.62115,
    "c": 0.11788,
    "h": 101.1
  },
  "luminance": 0.24208
}

Semantic roles & 50–950 ramp

primary
#968822
secondary
#5663BE
accent
#56E642
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #968822

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

Preview Lab → · Contrast checker → · Palette generator →

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