#968A31#968A31

#968A31 is a light, moderate yellow. Relative luminance 0.249; OKLCH L 62.7% C 0.109 H 101.6°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#968A31
RGBrgb(150, 138, 49)
HSLhsl(53, 51%, 39%)
HSVhsv(53, 67%, 59%)
CMYKcmyk(0%, 8%, 67.3%, 41.2%)
CIE-LABlab(56.96, -6.47, 47.48)
CIE-LCHlch(56.96, 47.92, 97.76°)
OKLaboklab(62.68% -0.022 0.1072)
OKLCHoklch(62.68% 0.109 101.6)
XYZxyz(22.2215, 24.8837, 6.5377)
Luminance0.2488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968A31 #313D96
analogous
#965831 #968A31 #709631
triadic
#968A31 #31968A #8A3196
tetradic
#968A31 #319658 #313D96 #963170
square
#968A31 #319658 #313D96 #963170
split-complementary
#968A31 #317096 #583196
monochromatic
#3A3513 #686022 #968A31 #C1B243 #D1C571

Accessibility & contrast

On white

3.51
#968A31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#968A31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968A31
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968A31#FFFFFF#000000##000000
##968A311.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978625
Deuteranopia (green-blind)
#9A8B36
Tritanopia (blue-blind)
#A18078
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #968a31;
/* rgb */ color: rgb(150, 138, 49);
/* oklch */ color: oklch(62.7% 0.109 101.6);
Tailwind
colors: {
  custom: {
    50: '#b8ab6e',
    500: '#968a31',
    950: '#000000',
  },
}
SCSS
$custom: #968a31;
$custom-light: #b8ab6e;
$custom-dark: #000000;
JSON
{
  "hex": "#968a31",
  "rgb": {
    "r": 150,
    "g": 138,
    "b": 49
  },
  "hsl": {
    "h": 52.871,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.62677,
    "c": 0.10941,
    "h": 101.6
  },
  "luminance": 0.24883
}

Semantic roles & 50–950 ramp

primary
#968A31
secondary
#6A74B8
accent
#5EDA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #968A31

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

Preview Lab → · Contrast checker → · Palette generator →

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