#968C31#968C31

#968C31 is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.1% C 0.111 H 103.0°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#968C31
RGBrgb(150, 140, 49)
HSLhsl(54, 51%, 39%)
HSVhsv(54, 67%, 59%)
CMYKcmyk(0%, 6.7%, 67.3%, 41.2%)
CIE-LABlab(57.52, -7.56, 48.07)
CIE-LCHlch(57.52, 48.66, 98.94°)
OKLaboklab(63.12% -0.0251 0.1084)
OKLCHoklch(63.12% 0.111 103)
XYZxyz(22.5110, 25.4628, 6.6342)
Luminance0.2546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968C31 #313B96
analogous
#965A31 #968C31 #6E9631
triadic
#968C31 #31968C #8C3196
tetradic
#968C31 #31965A #313B96 #96316E
square
#968C31 #31965A #313B96 #96316E
split-complementary
#968C31 #316E96 #5A3196
monochromatic
#3A3613 #686122 #968C31 #C1B543 #D1C771

Accessibility & contrast

On white

3.45
#968C31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#968C31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968C31
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968C31#FFFFFF#000000##000000
##968C311.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#988725
Deuteranopia (green-blind)
#9C8C36
Tritanopia (blue-blind)
#A18279
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #968c31;
/* rgb */ color: rgb(150, 140, 49);
/* oklch */ color: oklch(63.1% 0.111 103.0);
Tailwind
colors: {
  custom: {
    50: '#b8ad6e',
    500: '#968c31',
    950: '#000000',
  },
}
SCSS
$custom: #968c31;
$custom-light: #b8ad6e;
$custom-dark: #000000;
JSON
{
  "hex": "#968c31",
  "rgb": {
    "r": 150,
    "g": 140,
    "b": 49
  },
  "hsl": {
    "h": 54.059,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63123,
    "c": 0.11127,
    "h": 103
  },
  "luminance": 0.25462
}

Semantic roles & 50–950 ramp

primary
#968C31
secondary
#6A72B8
accent
#5BDA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #968C31

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

Preview Lab → · Contrast checker → · Palette generator →

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