#968A40#968A40

#968A40 is a light, moderate yellow. Relative luminance 0.250; OKLCH L 62.8% C 0.096 H 100.2°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#968A40
RGBrgb(150, 138, 64)
HSLhsl(52, 40%, 42%)
HSVhsv(52, 57%, 59%)
CMYKcmyk(0%, 8%, 57.3%, 41.2%)
CIE-LABlab(57.11, -5.39, 40.60)
CIE-LCHlch(57.11, 40.95, 97.56°)
OKLaboklab(62.84% -0.0171 0.0947)
OKLCHoklch(62.84% 0.096 100.2)
XYZxyz(22.5924, 25.0320, 8.4911)
Luminance0.2503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968A40 #404C96
analogous
#965F40 #968A40 #779640
triadic
#968A40 #40968A #8A4096
tetradic
#968A40 #40965F #404C96 #964077
square
#968A40 #40965F #404C96 #964077
split-complementary
#968A40 #407796 #5F4096
monochromatic
#403B1B #6B632E #968A40 #B9AC5A #CBC185

Accessibility & contrast

On white

3.50
#968A40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#968A40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968A40
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968A40#FFFFFF#000000##000000
##968A401.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968639
Deuteranopia (green-blind)
#998B44
Tritanopia (blue-blind)
#A18179
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #968a40;
/* rgb */ color: rgb(150, 138, 64);
/* oklch */ color: oklch(62.8% 0.096 100.2);
Tailwind
colors: {
  custom: {
    50: '#b7ab77',
    500: '#968a40',
    950: '#000000',
  },
}
SCSS
$custom: #968a40;
$custom-light: #b7ab77;
$custom-dark: #000000;
JSON
{
  "hex": "#968a40",
  "rgb": {
    "r": 150,
    "g": 138,
    "b": 64
  },
  "hsl": {
    "h": 51.628,
    "s": 40.187,
    "l": 41.961
  },
  "oklch": {
    "l": 0.62838,
    "c": 0.09619,
    "h": 100.2
  },
  "luminance": 0.25031
}

Semantic roles & 50–950 ramp

primary
#968A40
secondary
#7C84B6
accent
#69D058
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #968A40

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

Preview Lab → · Contrast checker → · Palette generator →

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