#968D20#968D20

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

Color values

HEX#968D20
RGBrgb(150, 141, 32)
HSLhsl(55, 65%, 36%)
HSVhsv(55, 79%, 59%)
CMYKcmyk(0%, 6%, 78.7%, 41.2%)
CIE-LABlab(57.69, -8.96, 54.79)
CIE-LCHlch(57.69, 55.52, 99.29°)
OKLaboklab(63.22% -0.0308 0.1195)
OKLCHoklch(63.22% 0.123 104.5)
XYZxyz(22.3643, 25.6390, 5.1370)
Luminance0.2564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968D20 #202996
analogous
#965220 #968D20 #649620
triadic
#968D20 #20968D #8D2096
tetradic
#968D20 #209652 #202996 #962064
square
#968D20 #209652 #202996 #962064
split-complementary
#968D20 #206496 #522096
monochromatic
#312E0A #645E15 #968D20 #C8BC2B #DBD156

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##968D20#FFFFFF#000000##000000
##968D201.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)
#9A8804
Deuteranopia (green-blind)
#9D8D29
Tritanopia (blue-blind)
#A28379
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #968d20;
/* rgb */ color: rgb(150, 141, 32);
/* oklch */ color: oklch(63.2% 0.123 104.5);
Tailwind
colors: {
  custom: {
    50: '#b8ae65',
    500: '#968d20',
    950: '#000000',
  },
}
SCSS
$custom: #968d20;
$custom-light: #b8ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#968d20",
  "rgb": {
    "r": 150,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 55.424,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.63222,
    "c": 0.12338,
    "h": 104.5
  },
  "luminance": 0.25638
}

Semantic roles & 50–950 ramp

primary
#968D20
secondary
#535BBE
accent
#4DE840
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #968D20

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

Preview Lab → · Contrast checker → · Palette generator →

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