#968B31#968B31

#968B31 is a light, moderate yellow. Relative luminance 0.252; OKLCH L 62.9% C 0.110 H 102.3°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#968B31
RGBrgb(150, 139, 49)
HSLhsl(53, 51%, 39%)
HSVhsv(53, 67%, 59%)
CMYKcmyk(0%, 7.3%, 67.3%, 41.2%)
CIE-LABlab(57.24, -7.01, 47.77)
CIE-LCHlch(57.24, 48.28, 98.35°)
OKLaboklab(62.9% -0.0235 0.1078)
OKLCHoklch(62.9% 0.11 102.3)
XYZxyz(22.3656, 25.1719, 6.5857)
Luminance0.2517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968B31 #313C96
analogous
#965931 #968B31 #6F9631
triadic
#968B31 #31968B #8B3196
tetradic
#968B31 #319659 #313C96 #96316F
square
#968B31 #319659 #313C96 #96316F
split-complementary
#968B31 #316F96 #593196
monochromatic
#3A3613 #686022 #968B31 #C1B443 #D1C671

Accessibility & contrast

On white

3.48
#968B31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#968B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968B31
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968B31#FFFFFF#000000##000000
##968B311.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988725
Deuteranopia (green-blind)
#9B8C36
Tritanopia (blue-blind)
#A18178
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #968b31;
/* rgb */ color: rgb(150, 139, 49);
/* oklch */ color: oklch(62.9% 0.110 102.3);
Tailwind
colors: {
  custom: {
    50: '#b8ac6e',
    500: '#968b31',
    950: '#000000',
  },
}
SCSS
$custom: #968b31;
$custom-light: #b8ac6e;
$custom-dark: #000000;
JSON
{
  "hex": "#968b31",
  "rgb": {
    "r": 150,
    "g": 139,
    "b": 49
  },
  "hsl": {
    "h": 53.465,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.629,
    "c": 0.11033,
    "h": 102.3
  },
  "luminance": 0.25171
}

Semantic roles & 50–950 ramp

primary
#968B31
secondary
#6A73B8
accent
#5DDA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #968B31

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

Preview Lab → · Contrast checker → · Palette generator →

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