#968731#968731

#968731 is a light, moderate yellow. Relative luminance 0.240; OKLCH L 62.0% C 0.107 H 99.3°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#968731
RGBrgb(150, 135, 49)
HSLhsl(51, 51%, 39%)
HSVhsv(51, 67%, 59%)
CMYKcmyk(0%, 10%, 67.3%, 41.2%)
CIE-LABlab(56.12, -4.83, 46.60)
CIE-LCHlch(56.12, 46.85, 95.91°)
OKLaboklab(62.01% -0.0173 0.1053)
OKLCHoklch(62.01% 0.107 99.3)
XYZxyz(21.7970, 24.0347, 6.3962)
Luminance0.2403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968731 #314096
analogous
#965531 #968731 #739631
triadic
#968731 #319687 #873196
tetradic
#968731 #319655 #314096 #963173
square
#968731 #319655 #314096 #963173
split-complementary
#968731 #317396 #553196
monochromatic
#3A3413 #685D22 #968731 #C1AF43 #D1C271

Accessibility & contrast

On white

3.62
#968731 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#968731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968731
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968731#FFFFFF#000000##000000
##9687311.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948326
Deuteranopia (green-blind)
#988936
Tritanopia (blue-blind)
#A17D75
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #968731;
/* rgb */ color: rgb(150, 135, 49);
/* oklch */ color: oklch(62.0% 0.107 99.3);
Tailwind
colors: {
  custom: {
    50: '#b8a96e',
    500: '#968731',
    950: '#000000',
  },
}
SCSS
$custom: #968731;
$custom-light: #b8a96e;
$custom-dark: #000000;
JSON
{
  "hex": "#968731",
  "rgb": {
    "r": 150,
    "g": 135,
    "b": 49
  },
  "hsl": {
    "h": 51.089,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.62011,
    "c": 0.10673,
    "h": 99.3
  },
  "luminance": 0.24034
}

Semantic roles & 50–950 ramp

primary
#968731
secondary
#6A76B8
accent
#62DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #968731

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

Preview Lab → · Contrast checker → · Palette generator →

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