#968B22#968B22

#968B22 is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.8% C 0.120 H 103.1°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#968B22
RGBrgb(150, 139, 34)
HSLhsl(54, 63%, 36%)
HSVhsv(54, 77%, 59%)
CMYKcmyk(0%, 7.3%, 77.3%, 41.2%)
CIE-LABlab(57.14, -7.80, 53.60)
CIE-LCHlch(57.14, 54.16, 98.28°)
OKLaboklab(62.79% -0.0273 0.1173)
OKLCHoklch(62.79% 0.12 103.1)
XYZxyz(22.1000, 25.0657, 5.1871)
Luminance0.2506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968B22 #222D96
analogous
#965122 #968B22 #679622
triadic
#968B22 #22968B #8B2296
tetradic
#968B22 #229651 #222D96 #962267
square
#968B22 #229651 #222D96 #962267
split-complementary
#968B22 #226796 #512296
monochromatic
#322F0B #645D17 #968B22 #C8B92D #D9CD59

Accessibility & contrast

On white

3.49
#968B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#968B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968B22
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968B22#FFFFFF#000000##000000
##968B221.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#98860B
Deuteranopia (green-blind)
#9C8B2A
Tritanopia (blue-blind)
#A28177
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #968b22;
/* rgb */ color: rgb(150, 139, 34);
/* oklch */ color: oklch(62.8% 0.120 103.1);
Tailwind
colors: {
  custom: {
    50: '#b8ac66',
    500: '#968b22',
    950: '#000000',
  },
}
SCSS
$custom: #968b22;
$custom-light: #b8ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#968b22",
  "rgb": {
    "r": 150,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 54.31,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.62785,
    "c": 0.12048,
    "h": 103.1
  },
  "luminance": 0.25065
}

Semantic roles & 50–950 ramp

primary
#968B22
secondary
#5660BE
accent
#51E642
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #968B22

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

Preview Lab → · Contrast checker → · Palette generator →

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