#968B21#968B21

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

Color values

HEX#968B21
RGBrgb(150, 139, 33)
HSLhsl(54, 64%, 36%)
HSVhsv(54, 78%, 59%)
CMYKcmyk(0%, 7.3%, 78%, 41.2%)
CIE-LABlab(57.13, -7.84, 53.94)
CIE-LCHlch(57.13, 54.51, 98.27°)
OKLaboklab(62.78% -0.0276 0.1179)
OKLCHoklch(62.78% 0.121 103.2)
XYZxyz(22.0858, 25.0600, 5.1123)
Luminance0.2506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968B21 #212C96
analogous
#965021 #968B21 #669621
triadic
#968B21 #21968B #8B2196
tetradic
#968B21 #219650 #212C96 #962166
square
#968B21 #219650 #212C96 #962166
split-complementary
#968B21 #216696 #502196
monochromatic
#322E0B #645D16 #968B21 #C8B92C #DACE57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##968B21#FFFFFF#000000##000000
##968B211.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)
#988608
Deuteranopia (green-blind)
#9C8B29
Tritanopia (blue-blind)
#A28177
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #968b21;
/* rgb */ color: rgb(150, 139, 33);
/* oklch */ color: oklch(62.8% 0.121 103.2);
Tailwind
colors: {
  custom: {
    50: '#b8ac66',
    500: '#968b21',
    950: '#000000',
  },
}
SCSS
$custom: #968b21;
$custom-light: #b8ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#968b21",
  "rgb": {
    "r": 150,
    "g": 139,
    "b": 33
  },
  "hsl": {
    "h": 54.359,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.62779,
    "c": 0.12104,
    "h": 103.2
  },
  "luminance": 0.25059
}

Semantic roles & 50–950 ramp

primary
#968B21
secondary
#555FBE
accent
#50E741
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #968B21

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

Preview Lab → · Contrast checker → · Palette generator →

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