#968C2A#968C2A

#968C2A is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.1% C 0.116 H 103.4°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#968C2A
RGBrgb(150, 140, 42)
HSLhsl(54, 56%, 38%)
HSVhsv(54, 72%, 59%)
CMYKcmyk(0%, 6.7%, 72%, 41.2%)
CIE-LABlab(57.47, -7.96, 50.92)
CIE-LCHlch(57.47, 51.54, 98.88°)
OKLaboklab(63.07% -0.027 0.1132)
OKLCHoklch(63.07% 0.116 103.4)
XYZxyz(22.3746, 25.4083, 5.9158)
Luminance0.2541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968C2A #2A3496
analogous
#96562A #968C2A #6A962A
triadic
#968C2A #2A968C #8C2A96
tetradic
#968C2A #2A9656 #2A3496 #962A6A
square
#968C2A #2A9656 #2A3496 #962A6A
split-complementary
#968C2A #2A6A96 #562A96
monochromatic
#36330F #665F1D #968C2A #C6B937 #D4CA66

Accessibility & contrast

On white

3.45
#968C2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#968C2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968C2A
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968C2A#FFFFFF#000000##000000
##968C2A1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#99871A
Deuteranopia (green-blind)
#9C8C30
Tritanopia (blue-blind)
#A18279
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #968c2a;
/* rgb */ color: rgb(150, 140, 42);
/* oklch */ color: oklch(63.1% 0.116 103.4);
Tailwind
colors: {
  custom: {
    50: '#b8ad6a',
    500: '#968c2a',
    950: '#000000',
  },
}
SCSS
$custom: #968c2a;
$custom-light: #b8ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#968c2a",
  "rgb": {
    "r": 150,
    "g": 140,
    "b": 42
  },
  "hsl": {
    "h": 54.444,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63065,
    "c": 0.11638,
    "h": 103.4
  },
  "luminance": 0.25407
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #968C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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