#968319#968319

#968319 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 61.0% C 0.119 H 98.1°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#968319
RGBrgb(150, 131, 25)
HSLhsl(51, 71%, 34%)
HSVhsv(51, 83%, 59%)
CMYKcmyk(0%, 12.7%, 83.3%, 41.2%)
CIE-LABlab(54.85, -3.75, 54.48)
CIE-LCHlch(54.85, 54.61, 93.94°)
OKLaboklab(60.96% -0.0168 0.1174)
OKLCHoklch(60.96% 0.119 98.1)
XYZxyz(20.8706, 22.7879, 4.2187)
Luminance0.2279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968319 #192C96
analogous
#964519 #968319 #6B9619
triadic
#968319 #199683 #831996
tetradic
#968319 #199645 #192C96 #96196B
square
#968319 #199645 #192C96 #96196B
split-complementary
#968319 #196B96 #451996
monochromatic
#2D2708 #625510 #968319 #CAB122 #E1CA49

Accessibility & contrast

On white

3.78
#968319 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#968319 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968319
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968319#FFFFFF#000000##000000
##9683191.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#968621
Tritanopia (blue-blind)
#A27870
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #968319;
/* rgb */ color: rgb(150, 131, 25);
/* oklch */ color: oklch(61.0% 0.119 98.1);
Tailwind
colors: {
  custom: {
    50: '#b9a661',
    500: '#968319',
    950: '#000000',
  },
}
SCSS
$custom: #968319;
$custom-light: #b9a661;
$custom-dark: #000000;
JSON
{
  "hex": "#968319",
  "rgb": {
    "r": 150,
    "g": 131,
    "b": 25
  },
  "hsl": {
    "h": 50.88,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60956,
    "c": 0.11857,
    "h": 98.1
  },
  "luminance": 0.22787
}

Semantic roles & 50–950 ramp

primary
#968319
secondary
#495BC2
accent
#55EE3A
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #968319

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

Preview Lab → · Contrast checker → · Palette generator →

#968319 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva