#968C20#968C20

#968C20 is a light, vivid yellow. Relative luminance 0.253; OKLCH L 63.0% C 0.122 H 103.8°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#968C20
RGBrgb(150, 140, 32)
HSLhsl(55, 65%, 36%)
HSVhsv(55, 79%, 59%)
CMYKcmyk(0%, 6.7%, 78.7%, 41.2%)
CIE-LABlab(57.41, -8.42, 54.53)
CIE-LCHlch(57.41, 55.18, 98.78°)
OKLaboklab(63% -0.0293 0.1189)
OKLCHoklch(63% 0.122 103.8)
XYZxyz(22.2175, 25.3454, 5.0881)
Luminance0.2534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968C20 #202A96
analogous
#965120 #968C20 #659620
triadic
#968C20 #20968C #8C2096
tetradic
#968C20 #209651 #202A96 #962065
square
#968C20 #209651 #202A96 #962065
split-complementary
#968C20 #206596 #512096
monochromatic
#312E0A #645D15 #968C20 #C8BB2B #DBD056

Accessibility & contrast

On white

3.46
#968C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#968C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968C20
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968C20#FFFFFF#000000##000000
##968C201.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#998705
Deuteranopia (green-blind)
#9C8C28
Tritanopia (blue-blind)
#A28278
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #968c20;
/* rgb */ color: rgb(150, 140, 32);
/* oklch */ color: oklch(63.0% 0.122 103.8);
Tailwind
colors: {
  custom: {
    50: '#b9ad65',
    500: '#968c20',
    950: '#000000',
  },
}
SCSS
$custom: #968c20;
$custom-light: #b9ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#968c20",
  "rgb": {
    "r": 150,
    "g": 140,
    "b": 32
  },
  "hsl": {
    "h": 54.915,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62997,
    "c": 0.12248,
    "h": 103.8
  },
  "luminance": 0.25344
}

Semantic roles & 50–950 ramp

primary
#968C20
secondary
#535CBE
accent
#4EE840
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #968C20

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

Preview Lab → · Contrast checker → · Palette generator →

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