#968142#968142

#968142 is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.9% C 0.086 H 91.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#968142
RGBrgb(150, 129, 66)
HSLhsl(45, 39%, 42%)
HSVhsv(45, 56%, 59%)
CMYKcmyk(0%, 14%, 56%, 41.2%)
CIE-LABlab(54.64, -0.23, 36.70)
CIE-LCHlch(54.64, 36.70, 90.36°)
OKLaboklab(60.89% -0.0019 0.0864)
OKLCHoklch(60.89% 0.086 91.3)
XYZxyz(21.4122, 22.5789, 8.3835)
Luminance0.2258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968142 #425796
analogous
#965742 #968142 #819642
triadic
#968142 #429681 #814296
tetradic
#968142 #429657 #425796 #964281
square
#968142 #429657 #425796 #964281
split-complementary
#968142 #428196 #574296
monochromatic
#41381D #6C5C2F #968142 #B8A15D #CBBA88

Accessibility & contrast

On white

3.81
#968142 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#968142 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968142
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968142#FFFFFF#000000##000000
##9681421.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7F3C
Deuteranopia (green-blind)
#928544
Tritanopia (blue-blind)
#A17872
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #968142;
/* rgb */ color: rgb(150, 129, 66);
/* oklch */ color: oklch(60.9% 0.086 91.3);
Tailwind
colors: {
  custom: {
    50: '#b7a578',
    500: '#968142',
    950: '#000000',
  },
}
SCSS
$custom: #968142;
$custom-light: #b7a578;
$custom-dark: #000000;
JSON
{
  "hex": "#968142",
  "rgb": {
    "r": 150,
    "g": 129,
    "b": 66
  },
  "hsl": {
    "h": 45,
    "s": 38.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.60892,
    "c": 0.08646,
    "h": 91.3
  },
  "luminance": 0.22578
}

Semantic roles & 50–950 ramp

primary
#968142
secondary
#7E8CB5
accent
#76CF59
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F09
muted
#817F7B

Preview Lab

Preview with #968142

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

Preview Lab → · Contrast checker → · Palette generator →

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