#968131#968131

#968131 is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.7% C 0.102 H 94.4°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#968131
RGBrgb(150, 129, 49)
HSLhsl(48, 51%, 39%)
HSVhsv(48, 67%, 59%)
CMYKcmyk(0%, 14%, 67.3%, 41.2%)
CIE-LABlab(54.46, -1.50, 44.84)
CIE-LCHlch(54.46, 44.87, 91.92°)
OKLaboklab(60.69% -0.0078 0.1016)
OKLCHoklch(60.69% 0.102 94.4)
XYZxyz(20.9833, 22.4074, 6.1249)
Luminance0.2241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968131 #314696
analogous
#964F31 #968131 #799631
triadic
#968131 #319681 #813196
tetradic
#968131 #31964F #314696 #963179
square
#968131 #31964F #314696 #963179
split-complementary
#968131 #317996 #4F3196
monochromatic
#3A3213 #685922 #968131 #C1A743 #D1BD71

Accessibility & contrast

On white

3.83
#968131 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#968131 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968131
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968131#FFFFFF#000000##000000
##9681311.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F27
Deuteranopia (green-blind)
#948535
Tritanopia (blue-blind)
#A27770
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #968131;
/* rgb */ color: rgb(150, 129, 49);
/* oklch */ color: oklch(60.7% 0.102 94.4);
Tailwind
colors: {
  custom: {
    50: '#b8a56d',
    500: '#968131',
    950: '#000000',
  },
}
SCSS
$custom: #968131;
$custom-light: #b8a56d;
$custom-dark: #000000;
JSON
{
  "hex": "#968131",
  "rgb": {
    "r": 150,
    "g": 129,
    "b": 49
  },
  "hsl": {
    "h": 47.525,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.60692,
    "c": 0.1019,
    "h": 94.4
  },
  "luminance": 0.22406
}

Semantic roles & 50–950 ramp

primary
#968131
secondary
#6A7BB8
accent
#6BDA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #968131

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

Preview Lab → · Contrast checker → · Palette generator →

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