#968A3F#968A3F

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

Color values

HEX#968A3F
RGBrgb(150, 138, 63)
HSLhsl(52, 41%, 42%)
HSVhsv(52, 58%, 59%)
CMYKcmyk(0%, 8%, 58%, 41.2%)
CIE-LABlab(57.10, -5.47, 41.08)
CIE-LCHlch(57.10, 41.44, 97.58°)
OKLaboklab(62.83% -0.0174 0.0956)
OKLCHoklch(62.83% 0.097 100.3)
XYZxyz(22.5642, 25.0208, 8.3426)
Luminance0.2502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968A3F #3F4B96
analogous
#965F3F #968A3F #77963F
triadic
#968A3F #3F968A #8A3F96
tetradic
#968A3F #3F965F #3F4B96 #963F77
square
#968A3F #3F965F #3F4B96 #963F77
split-complementary
#968A3F #3F7796 #5F3F96
monochromatic
#403B1B #6B622D #968A3F #B9AC59 #CBC284

Accessibility & contrast

On white

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

On black

6.00
#968A3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968A3F
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968A3F#FFFFFF#000000##000000
##968A3F1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #968a3f;
/* rgb */ color: rgb(150, 138, 63);
/* oklch */ color: oklch(62.8% 0.097 100.3);
Tailwind
colors: {
  custom: {
    50: '#b7ab77',
    500: '#968a3f',
    950: '#000000',
  },
}
SCSS
$custom: #968a3f;
$custom-light: #b7ab77;
$custom-dark: #000000;
JSON
{
  "hex": "#968a3f",
  "rgb": {
    "r": 150,
    "g": 138,
    "b": 63
  },
  "hsl": {
    "h": 51.724,
    "s": 40.845,
    "l": 41.765
  },
  "oklch": {
    "l": 0.62826,
    "c": 0.09715,
    "h": 100.3
  },
  "luminance": 0.2502
}

Semantic roles & 50–950 ramp

primary
#968A3F
secondary
#7B83B6
accent
#68D157
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #968A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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