#968B2A#968B2A

#968B2A is a light, moderate yellow. Relative luminance 0.251; OKLCH L 62.8% C 0.115 H 102.7°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#968B2A
RGBrgb(150, 139, 42)
HSLhsl(54, 56%, 38%)
HSVhsv(54, 72%, 59%)
CMYKcmyk(0%, 7.3%, 72%, 41.2%)
CIE-LABlab(57.19, -7.42, 50.65)
CIE-LCHlch(57.19, 51.19, 98.33°)
OKLaboklab(62.84% -0.0254 0.1126)
OKLCHoklch(62.84% 0.115 102.7)
XYZxyz(22.2292, 25.1174, 5.8673)
Luminance0.2512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968B2A #2A3596
analogous
#96552A #968B2A #6B962A
triadic
#968B2A #2A968B #8B2A96
tetradic
#968B2A #2A9655 #2A3596 #962A6B
square
#968B2A #2A9655 #2A3596 #962A6B
split-complementary
#968B2A #2A6B96 #552A96
monochromatic
#36320F #665F1D #968B2A #C6B737 #D4C966

Accessibility & contrast

On white

3.49
#968B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#968B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968B2A
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968B2A#FFFFFF#000000##000000
##968B2A1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#98861B
Deuteranopia (green-blind)
#9B8B30
Tritanopia (blue-blind)
#A28178
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #968b2a;
/* rgb */ color: rgb(150, 139, 42);
/* oklch */ color: oklch(62.8% 0.115 102.7);
Tailwind
colors: {
  custom: {
    50: '#b8ac6a',
    500: '#968b2a',
    950: '#000000',
  },
}
SCSS
$custom: #968b2a;
$custom-light: #b8ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#968b2a",
  "rgb": {
    "r": 150,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 53.889,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62841,
    "c": 0.11546,
    "h": 102.7
  },
  "luminance": 0.25116
}

Semantic roles & 50–950 ramp

primary
#968B2A
secondary
#616ABA
accent
#58E048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #968B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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