#968722#968722

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

Color values

HEX#968722
RGBrgb(150, 135, 34)
HSLhsl(52, 63%, 36%)
HSVhsv(52, 77%, 59%)
CMYKcmyk(0%, 10%, 77.3%, 41.2%)
CIE-LABlab(56.02, -5.61, 52.56)
CIE-LCHlch(56.02, 52.86, 96.10°)
OKLaboklab(61.89% -0.0212 0.1151)
OKLCHoklch(61.89% 0.117 100.4)
XYZxyz(21.5314, 23.9285, 4.9976)
Luminance0.2393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968722 #223196
analogous
#964D22 #968722 #6B9622
triadic
#968722 #229687 #872296
tetradic
#968722 #22964D #223196 #96226B
square
#968722 #22964D #223196 #96226B
split-complementary
#968722 #226B96 #4D2296
monochromatic
#322D0B #645A17 #968722 #C8B42D #D9C959

Accessibility & contrast

On white

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

On black

5.79
#968722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968722
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968722#FFFFFF#000000##000000
##9687221.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94830D
Deuteranopia (green-blind)
#998929
Tritanopia (blue-blind)
#A27D74
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #968722;
/* rgb */ color: rgb(150, 135, 34);
/* oklch */ color: oklch(61.9% 0.117 100.4);
Tailwind
colors: {
  custom: {
    50: '#b8a966',
    500: '#968722',
    950: '#000000',
  },
}
SCSS
$custom: #968722;
$custom-light: #b8a966;
$custom-dark: #000000;
JSON
{
  "hex": "#968722",
  "rgb": {
    "r": 150,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 52.241,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61893,
    "c": 0.11705,
    "h": 100.4
  },
  "luminance": 0.23927
}

Semantic roles & 50–950 ramp

primary
#968722
secondary
#5664BE
accent
#57E642
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #968722

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

Preview Lab → · Contrast checker → · Palette generator →

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