#968A22#968A22

#968A22 is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.6% C 0.120 H 102.5°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#968A22
RGBrgb(150, 138, 34)
HSLhsl(54, 63%, 36%)
HSVhsv(54, 77%, 59%)
CMYKcmyk(0%, 8%, 77.3%, 41.2%)
CIE-LABlab(56.86, -7.25, 53.34)
CIE-LCHlch(56.86, 53.83, 97.74°)
OKLaboklab(62.56% -0.0258 0.1168)
OKLCHoklch(62.56% 0.12 102.5)
XYZxyz(21.9559, 24.7774, 5.1391)
Luminance0.2478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968A22 #222E96
analogous
#965022 #968A22 #689622
triadic
#968A22 #22968A #8A2296
tetradic
#968A22 #229650 #222E96 #962268
square
#968A22 #229650 #222E96 #962268
split-complementary
#968A22 #226896 #502296
monochromatic
#322E0B #645C17 #968A22 #C8B82D #D9CC59

Accessibility & contrast

On white

3.53
#968A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#968A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968A22
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968A22#FFFFFF#000000##000000
##968A221.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#97850B
Deuteranopia (green-blind)
#9B8B2A
Tritanopia (blue-blind)
#A28076
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #968a22;
/* rgb */ color: rgb(150, 138, 34);
/* oklch */ color: oklch(62.6% 0.120 102.5);
Tailwind
colors: {
  custom: {
    50: '#b8ab66',
    500: '#968a22',
    950: '#000000',
  },
}
SCSS
$custom: #968a22;
$custom-light: #b8ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#968a22",
  "rgb": {
    "r": 150,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 53.793,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.62561,
    "c": 0.11959,
    "h": 102.5
  },
  "luminance": 0.24776
}

Semantic roles & 50–950 ramp

primary
#968A22
secondary
#5661BE
accent
#53E642
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #968A22

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

Preview Lab → · Contrast checker → · Palette generator →

#968A22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva