#968D40#968D40

#968D40 is a light, moderate yellow. Relative luminance 0.259; OKLCH L 63.5% C 0.099 H 102.7°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#968D40
RGBrgb(150, 141, 64)
HSLhsl(54, 40%, 42%)
HSVhsv(54, 57%, 59%)
CMYKcmyk(0%, 6%, 57.3%, 41.2%)
CIE-LABlab(57.95, -7.03, 41.56)
CIE-LCHlch(57.95, 42.15, 99.60°)
OKLaboklab(63.51% -0.0218 0.0967)
OKLCHoklch(63.51% 0.099 102.7)
XYZxyz(23.0287, 25.9048, 8.6366)
Luminance0.2590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968D40 #404996
analogous
#966240 #968D40 #749640
triadic
#968D40 #40968D #8D4096
tetradic
#968D40 #409662 #404996 #964074
square
#968D40 #409662 #404996 #964074
split-complementary
#968D40 #407496 #624096
monochromatic
#403C1B #6B652E #968D40 #B9AF5A #CBC485

Accessibility & contrast

On white

3.40
#968D40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#968D40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968D40
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968D40#FFFFFF#000000##000000
##968D401.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#998938
Deuteranopia (green-blind)
#9B8D44
Tritanopia (blue-blind)
#A0847C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #968d40;
/* rgb */ color: rgb(150, 141, 64);
/* oklch */ color: oklch(63.5% 0.099 102.7);
Tailwind
colors: {
  custom: {
    50: '#b7ae77',
    500: '#968d40',
    950: '#000000',
  },
}
SCSS
$custom: #968d40;
$custom-light: #b7ae77;
$custom-dark: #000000;
JSON
{
  "hex": "#968d40",
  "rgb": {
    "r": 150,
    "g": 141,
    "b": 64
  },
  "hsl": {
    "h": 53.721,
    "s": 40.187,
    "l": 41.961
  },
  "oklch": {
    "l": 0.63505,
    "c": 0.09916,
    "h": 102.7
  },
  "luminance": 0.25904
}

Semantic roles & 50–950 ramp

primary
#968D40
secondary
#7C82B6
accent
#64D058
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #968D40

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

Preview Lab → · Contrast checker → · Palette generator →

#968D40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva