#968C2B#968C2B

#968C2B 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#968C2B
RGBrgb(150, 140, 43)
HSLhsl(54, 55%, 38%)
HSVhsv(54, 71%, 59%)
CMYKcmyk(0%, 6.7%, 71.3%, 41.2%)
CIE-LABlab(57.48, -7.90, 50.53)
CIE-LCHlch(57.48, 51.15, 98.89°)
OKLaboklab(63.07% -0.0267 0.1126)
OKLCHoklch(63.07% 0.116 103.4)
XYZxyz(22.3927, 25.4155, 6.0112)
Luminance0.2541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968C2B #2B3596
analogous
#96572B #968C2B #6A962B
triadic
#968C2B #2B968C #8C2B96
tetradic
#968C2B #2B9657 #2B3596 #962B6A
square
#968C2B #2B9657 #2B3596 #962B6A
split-complementary
#968C2B #2B6A96 #572B96
monochromatic
#373310 #66601D #968C2B #C6B839 #D4CA68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##968C2B#FFFFFF#000000##000000
##968C2B1.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)
#99871C
Deuteranopia (green-blind)
#9C8C31
Tritanopia (blue-blind)
#A18279
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #968c2b;
/* rgb */ color: rgb(150, 140, 43);
/* oklch */ color: oklch(63.1% 0.116 103.4);
Tailwind
colors: {
  custom: {
    50: '#b8ad6b',
    500: '#968c2b',
    950: '#000000',
  },
}
SCSS
$custom: #968c2b;
$custom-light: #b8ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#968c2b",
  "rgb": {
    "r": 150,
    "g": 140,
    "b": 43
  },
  "hsl": {
    "h": 54.393,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.63073,
    "c": 0.11569,
    "h": 103.4
  },
  "luminance": 0.25415
}

Semantic roles & 50–950 ramp

primary
#968C2B
secondary
#636BBA
accent
#57DF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #968C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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