#968331#968331

#968331 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.1% C 0.103 H 96.1°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#968331
RGBrgb(150, 131, 49)
HSLhsl(49, 51%, 39%)
HSVhsv(49, 67%, 59%)
CMYKcmyk(0%, 12.7%, 67.3%, 41.2%)
CIE-LABlab(55.01, -2.61, 45.43)
CIE-LCHlch(55.01, 45.51, 93.29°)
OKLaboklab(61.13% -0.011 0.1028)
OKLCHoklch(61.13% 0.103 96.1)
XYZxyz(21.2493, 22.9394, 6.2136)
Luminance0.2294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968331 #314496
analogous
#965131 #968331 #779631
triadic
#968331 #319683 #833196
tetradic
#968331 #319651 #314496 #963177
square
#968331 #319651 #314496 #963177
split-complementary
#968331 #317796 #513196
monochromatic
#3A3213 #685B22 #968331 #C1AA43 #D1BF71

Accessibility & contrast

On white

3.76
#968331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#968331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968331
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968331#FFFFFF#000000##000000
##9683311.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#908027
Deuteranopia (green-blind)
#958635
Tritanopia (blue-blind)
#A27972
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #968331;
/* rgb */ color: rgb(150, 131, 49);
/* oklch */ color: oklch(61.1% 0.103 96.1);
Tailwind
colors: {
  custom: {
    50: '#b8a66d',
    500: '#968331',
    950: '#000000',
  },
}
SCSS
$custom: #968331;
$custom-light: #b8a66d;
$custom-dark: #000000;
JSON
{
  "hex": "#968331",
  "rgb": {
    "r": 150,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 48.713,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6113,
    "c": 0.10342,
    "h": 96.1
  },
  "luminance": 0.22938
}

Semantic roles & 50–950 ramp

primary
#968331
secondary
#6A79B8
accent
#68DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #968331

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

Preview Lab → · Contrast checker → · Palette generator →

#968331 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva