#968C24#968C24

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

Color values

HEX#968C24
RGBrgb(150, 140, 36)
HSLhsl(55, 61%, 36%)
HSVhsv(55, 76%, 59%)
CMYKcmyk(0%, 6.7%, 76%, 41.2%)
CIE-LABlab(57.43, -8.25, 53.16)
CIE-LCHlch(57.43, 53.80, 98.82°)
OKLaboklab(63.02% -0.0284 0.1168)
OKLCHoklch(63.02% 0.12 103.7)
XYZxyz(22.2752, 25.3685, 5.3920)
Luminance0.2537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968C24 #242E96
analogous
#965324 #968C24 #679624
triadic
#968C24 #24968C #8C2496
tetradic
#968C24 #249653 #242E96 #962467
square
#968C24 #249653 #242E96 #962467
split-complementary
#968C24 #246796 #532496
monochromatic
#33300C #655E18 #968C24 #C7BA30 #D8CD5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##968C24#FFFFFF#000000##000000
##968C241.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)
#99870F
Deuteranopia (green-blind)
#9C8C2C
Tritanopia (blue-blind)
#A28278
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #968c24;
/* rgb */ color: rgb(150, 140, 36);
/* oklch */ color: oklch(63.0% 0.120 103.7);
Tailwind
colors: {
  custom: {
    50: '#b8ad67',
    500: '#968c24',
    950: '#000000',
  },
}
SCSS
$custom: #968c24;
$custom-light: #b8ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#968c24",
  "rgb": {
    "r": 150,
    "g": 140,
    "b": 36
  },
  "hsl": {
    "h": 54.737,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.63022,
    "c": 0.12021,
    "h": 103.7
  },
  "luminance": 0.25368
}

Semantic roles & 50–950 ramp

primary
#968C24
secondary
#5962BD
accent
#52E443
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #968C24

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

Preview Lab → · Contrast checker → · Palette generator →

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