#968D31#968D31

#968D31 is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.3% C 0.112 H 103.7°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#968D31
RGBrgb(150, 141, 49)
HSLhsl(55, 51%, 39%)
HSVhsv(55, 67%, 59%)
CMYKcmyk(0%, 6%, 67.3%, 41.2%)
CIE-LABlab(57.81, -8.10, 48.36)
CIE-LCHlch(57.81, 49.03, 99.51°)
OKLaboklab(63.35% -0.0266 0.109)
OKLCHoklch(63.35% 0.112 103.7)
XYZxyz(22.6578, 25.7564, 6.6831)
Luminance0.2576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968D31 #313A96
analogous
#965B31 #968D31 #6D9631
triadic
#968D31 #31968D #8D3196
tetradic
#968D31 #31965B #313A96 #96316D
square
#968D31 #31965B #313A96 #96316D
split-complementary
#968D31 #316D96 #5B3196
monochromatic
#3A3613 #686222 #968D31 #C1B643 #D1C871

Accessibility & contrast

On white

3.41
#968D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#968D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968D31
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968D31#FFFFFF#000000##000000
##968D311.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998825
Deuteranopia (green-blind)
#9C8D37
Tritanopia (blue-blind)
#A1837A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #968d31;
/* rgb */ color: rgb(150, 141, 49);
/* oklch */ color: oklch(63.3% 0.112 103.7);
Tailwind
colors: {
  custom: {
    50: '#b8ae6e',
    500: '#968d31',
    950: '#000000',
  },
}
SCSS
$custom: #968d31;
$custom-light: #b8ae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#968d31",
  "rgb": {
    "r": 150,
    "g": 141,
    "b": 49
  },
  "hsl": {
    "h": 54.653,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63347,
    "c": 0.11223,
    "h": 103.7
  },
  "luminance": 0.25756
}

Semantic roles & 50–950 ramp

primary
#968D31
secondary
#6A71B8
accent
#5ADA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #968D31

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

Preview Lab → · Contrast checker → · Palette generator →

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