#968D21#968D21

#968D21 is a light, vivid yellow. Relative luminance 0.256; OKLCH L 63.2% C 0.123 H 104.4°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#968D21
RGBrgb(150, 141, 33)
HSLhsl(55, 64%, 36%)
HSVhsv(55, 78%, 59%)
CMYKcmyk(0%, 6%, 78%, 41.2%)
CIE-LABlab(57.70, -8.92, 54.46)
CIE-LCHlch(57.70, 55.18, 99.30°)
OKLaboklab(63.23% -0.0306 0.119)
OKLCHoklch(63.23% 0.123 104.4)
XYZxyz(22.3781, 25.6445, 5.2097)
Luminance0.2564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968D21 #212A96
analogous
#965221 #968D21 #649621
triadic
#968D21 #21968D #8D2196
tetradic
#968D21 #219652 #212A96 #962164
square
#968D21 #219652 #212A96 #962164
split-complementary
#968D21 #216496 #522196
monochromatic
#322F0B #645E16 #968D21 #C8BC2C #DAD057

Accessibility & contrast

On white

3.43
#968D21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#968D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968D21
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968D21#FFFFFF#000000##000000
##968D211.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8807
Deuteranopia (green-blind)
#9D8D29
Tritanopia (blue-blind)
#A28379
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #968d21;
/* rgb */ color: rgb(150, 141, 33);
/* oklch */ color: oklch(63.2% 0.123 104.4);
Tailwind
colors: {
  custom: {
    50: '#b8ae66',
    500: '#968d21',
    950: '#000000',
  },
}
SCSS
$custom: #968d21;
$custom-light: #b8ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#968d21",
  "rgb": {
    "r": 150,
    "g": 141,
    "b": 33
  },
  "hsl": {
    "h": 55.385,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63228,
    "c": 0.12284,
    "h": 104.4
  },
  "luminance": 0.25644
}

Semantic roles & 50–950 ramp

primary
#968D21
secondary
#555DBE
accent
#4EE741
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #968D21

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

Preview Lab → · Contrast checker → · Palette generator →

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