#968A2A#968A2A

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

Color values

HEX#968A2A
RGBrgb(150, 138, 42)
HSLhsl(53, 56%, 38%)
HSVhsv(53, 72%, 59%)
CMYKcmyk(0%, 8%, 72%, 41.2%)
CIE-LABlab(56.91, -6.87, 50.37)
CIE-LCHlch(56.91, 50.84, 97.77°)
OKLaboklab(62.62% -0.0239 0.112)
OKLCHoklch(62.62% 0.115 102)
XYZxyz(22.0850, 24.8291, 5.8192)
Luminance0.2483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968A2A #2A3696
analogous
#96542A #968A2A #6C962A
triadic
#968A2A #2A968A #8A2A96
tetradic
#968A2A #2A9654 #2A3696 #962A6C
square
#968A2A #2A9654 #2A3696 #962A6C
split-complementary
#968A2A #2A6C96 #542A96
monochromatic
#36320F #665E1D #968A2A #C6B637 #D4C866

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##968A2A#FFFFFF#000000##000000
##968A2A1.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)
#97861B
Deuteranopia (green-blind)
#9B8B30
Tritanopia (blue-blind)
#A28077
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #968a2a;
/* rgb */ color: rgb(150, 138, 42);
/* oklch */ color: oklch(62.6% 0.115 102.0);
Tailwind
colors: {
  custom: {
    50: '#b8ab6a',
    500: '#968a2a',
    950: '#000000',
  },
}
SCSS
$custom: #968a2a;
$custom-light: #b8ab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#968a2a",
  "rgb": {
    "r": 150,
    "g": 138,
    "b": 42
  },
  "hsl": {
    "h": 53.333,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62618,
    "c": 0.11455,
    "h": 102
  },
  "luminance": 0.24828
}

Semantic roles & 50–950 ramp

primary
#968A2A
secondary
#616BBA
accent
#59E048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #968A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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