#968222#968222

#968222 is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.8% C 0.113 H 96.8°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#968222
RGBrgb(150, 130, 34)
HSLhsl(50, 63%, 36%)
HSVhsv(50, 77%, 59%)
CMYKcmyk(0%, 13.3%, 77.3%, 41.2%)
CIE-LABlab(54.62, -2.86, 51.26)
CIE-LCHlch(54.62, 51.34, 93.19°)
OKLaboklab(60.79% -0.0134 0.1123)
OKLCHoklch(60.79% 0.113 96.8)
XYZxyz(20.8501, 22.5659, 4.7705)
Luminance0.2256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968222 #223696
analogous
#964822 #968222 #709622
triadic
#968222 #229682 #822296
tetradic
#968222 #229648 #223696 #962270
square
#968222 #229648 #223696 #962270
split-complementary
#968222 #227096 #482296
monochromatic
#322C0B #645717 #968222 #C8AD2D #D9C359

Accessibility & contrast

On white

3.81
#968222 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#968222 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968222
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968222#FFFFFF#000000##000000
##9682221.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0F
Deuteranopia (green-blind)
#958528
Tritanopia (blue-blind)
#A27870
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #968222;
/* rgb */ color: rgb(150, 130, 34);
/* oklch */ color: oklch(60.8% 0.113 96.8);
Tailwind
colors: {
  custom: {
    50: '#b9a665',
    500: '#968222',
    950: '#000000',
  },
}
SCSS
$custom: #968222;
$custom-light: #b9a665;
$custom-dark: #000000;
JSON
{
  "hex": "#968222",
  "rgb": {
    "r": 150,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 49.655,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60788,
    "c": 0.11314,
    "h": 96.8
  },
  "luminance": 0.22565
}

Semantic roles & 50–950 ramp

primary
#968222
secondary
#5668BE
accent
#5EE642
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #968222

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

Preview Lab → · Contrast checker → · Palette generator →

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