#968B20#968B20

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

Color values

HEX#968B20
RGBrgb(150, 139, 32)
HSLhsl(54, 65%, 36%)
HSVhsv(54, 79%, 59%)
CMYKcmyk(0%, 7.3%, 78.7%, 41.2%)
CIE-LABlab(57.13, -7.88, 54.28)
CIE-LCHlch(57.13, 54.84, 98.26°)
OKLaboklab(62.77% -0.0278 0.1184)
OKLCHoklch(62.77% 0.122 103.2)
XYZxyz(22.0720, 25.0545, 5.0396)
Luminance0.2505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968B20 #202B96
analogous
#965020 #968B20 #669620
triadic
#968B20 #20968B #8B2096
tetradic
#968B20 #209650 #202B96 #962066
square
#968B20 #209650 #202B96 #962066
split-complementary
#968B20 #206696 #502096
monochromatic
#312E0A #645C15 #968B20 #C8BA2B #DBCE56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##968B20#FFFFFF#000000##000000
##968B201.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)
#988605
Deuteranopia (green-blind)
#9C8B28
Tritanopia (blue-blind)
#A28177
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #968b20;
/* rgb */ color: rgb(150, 139, 32);
/* oklch */ color: oklch(62.8% 0.122 103.2);
Tailwind
colors: {
  custom: {
    50: '#b9ac65',
    500: '#968b20',
    950: '#000000',
  },
}
SCSS
$custom: #968b20;
$custom-light: #b9ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#968b20",
  "rgb": {
    "r": 150,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 54.407,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62773,
    "c": 0.12159,
    "h": 103.2
  },
  "luminance": 0.25054
}

Semantic roles & 50–950 ramp

primary
#968B20
secondary
#535DBE
accent
#50E840
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #968B20

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

Preview Lab → · Contrast checker → · Palette generator →

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