#968E31#968E31

#968E31 is a light, moderate yellow. Relative luminance 0.261; OKLCH L 63.6% C 0.113 H 104.4°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#968E31
RGBrgb(150, 142, 49)
HSLhsl(55, 51%, 39%)
HSVhsv(55, 67%, 59%)
CMYKcmyk(0%, 5.3%, 67.3%, 41.2%)
CIE-LABlab(58.09, -8.64, 48.65)
CIE-LCHlch(58.09, 49.41, 100.07°)
OKLaboklab(63.57% -0.0281 0.1097)
OKLCHoklch(63.57% 0.113 104.4)
XYZxyz(22.8059, 26.0526, 6.7325)
Luminance0.2605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968E31 #313996
analogous
#965C31 #968E31 #6C9631
triadic
#968E31 #31968E #8E3196
tetradic
#968E31 #31965C #313996 #96316C
square
#968E31 #31965C #313996 #96316C
split-complementary
#968E31 #316C96 #5C3196
monochromatic
#3A3713 #686222 #968E31 #C1B743 #D1C971

Accessibility & contrast

On white

3.38
#968E31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#968E31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968E31
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968E31#FFFFFF#000000##000000
##968E311.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8925
Deuteranopia (green-blind)
#9D8E37
Tritanopia (blue-blind)
#A1847B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #968e31;
/* rgb */ color: rgb(150, 142, 49);
/* oklch */ color: oklch(63.6% 0.113 104.4);
Tailwind
colors: {
  custom: {
    50: '#b8ae6e',
    500: '#968e31',
    950: '#000000',
  },
}
SCSS
$custom: #968e31;
$custom-light: #b8ae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#968e31",
  "rgb": {
    "r": 150,
    "g": 142,
    "b": 49
  },
  "hsl": {
    "h": 55.248,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63571,
    "c": 0.1132,
    "h": 104.4
  },
  "luminance": 0.26052
}

Semantic roles & 50–950 ramp

primary
#968E31
secondary
#6A71B8
accent
#59DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #968E31

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

Preview Lab → · Contrast checker → · Palette generator →

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