#968342#968342

#968342 is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.3% C 0.088 H 93.4°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#968342
RGBrgb(150, 131, 66)
HSLhsl(46, 39%, 42%)
HSVhsv(46, 56%, 59%)
CMYKcmyk(0%, 12.7%, 56%, 41.2%)
CIE-LABlab(55.19, -1.35, 37.35)
CIE-LCHlch(55.19, 37.38, 92.07°)
OKLaboklab(61.33% -0.0052 0.0879)
OKLCHoklch(61.33% 0.088 93.4)
XYZxyz(21.6782, 23.1110, 8.4722)
Luminance0.2311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968342 #425596
analogous
#965942 #968342 #7F9642
triadic
#968342 #429683 #834296
tetradic
#968342 #429659 #425596 #96427F
square
#968342 #429659 #425596 #96427F
split-complementary
#968342 #427F96 #594296
monochromatic
#41391D #6C5E2F #968342 #B8A35D #CBBB88

Accessibility & contrast

On white

3.74
#968342 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#968342 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968342
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968342#FFFFFF#000000##000000
##9683421.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F813C
Deuteranopia (green-blind)
#948745
Tritanopia (blue-blind)
#A17A74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #968342;
/* rgb */ color: rgb(150, 131, 66);
/* oklch */ color: oklch(61.3% 0.088 93.4);
Tailwind
colors: {
  custom: {
    50: '#b7a678',
    500: '#968342',
    950: '#000000',
  },
}
SCSS
$custom: #968342;
$custom-light: #b7a678;
$custom-dark: #000000;
JSON
{
  "hex": "#968342",
  "rgb": {
    "r": 150,
    "g": 131,
    "b": 66
  },
  "hsl": {
    "h": 46.429,
    "s": 38.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.61326,
    "c": 0.08801,
    "h": 93.4
  },
  "luminance": 0.2311
}

Semantic roles & 50–950 ramp

primary
#968342
secondary
#7E8BB5
accent
#74CF59
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F09
muted
#817F7B

Preview Lab

Preview with #968342

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

Preview Lab → · Contrast checker → · Palette generator →

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