#968D19#968D19

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

Color values

HEX#968D19
RGBrgb(150, 141, 25)
HSLhsl(56, 71%, 34%)
HSVhsv(56, 83%, 59%)
CMYKcmyk(0%, 6%, 83.3%, 41.2%)
CIE-LABlab(57.66, -9.21, 56.90)
CIE-LCHlch(57.66, 57.64, 99.20°)
OKLaboklab(63.19% -0.0321 0.1226)
OKLCHoklch(63.19% 0.127 104.7)
XYZxyz(22.2790, 25.6049, 4.6882)
Luminance0.2560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968D19 #192296
analogous
#964F19 #968D19 #619619
triadic
#968D19 #19968D #8D1996
tetradic
#968D19 #19964F #192296 #961961
square
#968D19 #19964F #192296 #961961
split-complementary
#968D19 #196196 #4F1996
monochromatic
#2D2A08 #625C10 #968D19 #CABE22 #E1D649

Accessibility & contrast

On white

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

On black

6.12
#968D19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968D19
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968D19#FFFFFF#000000##000000
##968D191.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#9D8D24
Tritanopia (blue-blind)
#A28378
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #968d19;
/* rgb */ color: rgb(150, 141, 25);
/* oklch */ color: oklch(63.2% 0.127 104.7);
Tailwind
colors: {
  custom: {
    50: '#b9ae62',
    500: '#968d19',
    950: '#000000',
  },
}
SCSS
$custom: #968d19;
$custom-light: #b9ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#968d19",
  "rgb": {
    "r": 150,
    "g": 141,
    "b": 25
  },
  "hsl": {
    "h": 55.68,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.63185,
    "c": 0.12676,
    "h": 104.7
  },
  "luminance": 0.25604
}

Semantic roles & 50–950 ramp

primary
#968D19
secondary
#4951C2
accent
#47EE3A
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #968D19

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

Preview Lab → · Contrast checker → · Palette generator →

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