#968A2B#968A2B

#968A2B is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.6% C 0.114 H 102.0°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#968A2B
RGBrgb(150, 138, 43)
HSLhsl(53, 55%, 38%)
HSVhsv(53, 71%, 59%)
CMYKcmyk(0%, 8%, 71.3%, 41.2%)
CIE-LABlab(56.92, -6.82, 49.97)
CIE-LCHlch(56.92, 50.43, 97.77°)
OKLaboklab(62.63% -0.0236 0.1114)
OKLCHoklch(62.63% 0.114 102)
XYZxyz(22.1032, 24.8364, 5.9147)
Luminance0.2483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968A2B #2B3796
analogous
#96542B #968A2B #6C962B
triadic
#968A2B #2B968A #8A2B96
tetradic
#968A2B #2B9654 #2B3796 #962B6C
square
#968A2B #2B9654 #2B3796 #962B6C
split-complementary
#968A2B #2B6C96 #542B96
monochromatic
#373210 #665E1D #968A2B #C6B639 #D4C868

Accessibility & contrast

On white

3.52
#968A2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#968A2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968A2B
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968A2B#FFFFFF#000000##000000
##968A2B1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#97861D
Deuteranopia (green-blind)
#9A8B31
Tritanopia (blue-blind)
#A28077
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #968a2b;
/* rgb */ color: rgb(150, 138, 43);
/* oklch */ color: oklch(62.6% 0.114 102.0);
Tailwind
colors: {
  custom: {
    50: '#b8ab6b',
    500: '#968a2b',
    950: '#000000',
  },
}
SCSS
$custom: #968a2b;
$custom-light: #b8ab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#968a2b",
  "rgb": {
    "r": 150,
    "g": 138,
    "b": 43
  },
  "hsl": {
    "h": 53.271,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.62626,
    "c": 0.11386,
    "h": 102
  },
  "luminance": 0.24835
}

Semantic roles & 50–950 ramp

primary
#968A2B
secondary
#636DBA
accent
#5ADF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #968A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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