#968140#968140

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

Color values

HEX#968140
RGBrgb(150, 129, 64)
HSLhsl(45, 40%, 42%)
HSVhsv(45, 57%, 59%)
CMYKcmyk(0%, 14%, 57.3%, 41.2%)
CIE-LABlab(54.61, -0.40, 37.70)
CIE-LCHlch(54.61, 37.71, 90.61°)
OKLaboklab(60.87% -0.0027 0.0884)
OKLCHoklch(60.87% 0.088 91.7)
XYZxyz(21.3542, 22.5558, 8.0784)
Luminance0.2256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968140 #405596
analogous
#965640 #968140 #809640
triadic
#968140 #409681 #814096
tetradic
#968140 #409656 #405596 #964080
square
#968140 #409656 #405596 #964080
split-complementary
#968140 #408096 #564096
monochromatic
#40371B #6B5C2E #968140 #B9A25A #CBBA85

Accessibility & contrast

On white

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

On black

5.51
#968140 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968140
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968140#FFFFFF#000000##000000
##9681401.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #968140;
/* rgb */ color: rgb(150, 129, 64);
/* oklch */ color: oklch(60.9% 0.088 91.7);
Tailwind
colors: {
  custom: {
    50: '#b7a577',
    500: '#968140',
    950: '#000000',
  },
}
SCSS
$custom: #968140;
$custom-light: #b7a577;
$custom-dark: #000000;
JSON
{
  "hex": "#968140",
  "rgb": {
    "r": 150,
    "g": 129,
    "b": 64
  },
  "hsl": {
    "h": 45.349,
    "s": 40.187,
    "l": 41.961
  },
  "oklch": {
    "l": 0.60865,
    "c": 0.08845,
    "h": 91.7
  },
  "luminance": 0.22555
}

Semantic roles & 50–950 ramp

primary
#968140
secondary
#7C8AB6
accent
#75D058
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F09
muted
#817F7B

Preview Lab

Preview with #968140

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

Preview Lab → · Contrast checker → · Palette generator →

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