#96842C#96842C

#96842C is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.3% C 0.108 H 97.4°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#96842C
RGBrgb(150, 132, 44)
HSLhsl(50, 55%, 38%)
HSVhsv(50, 71%, 59%)
CMYKcmyk(0%, 12%, 70.7%, 41.2%)
CIE-LABlab(55.25, -3.47, 47.88)
CIE-LCHlch(55.25, 48.00, 94.14°)
OKLaboklab(61.3% -0.014 0.1071)
OKLCHoklch(61.3% 0.108 97.4)
XYZxyz(21.2846, 23.1695, 5.7334)
Luminance0.2317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96842C #2C3E96
analogous
#964F2C #96842C #73962C
triadic
#96842C #2C9684 #842C96
tetradic
#96842C #2C964F #2C3E96 #962C73
square
#96842C #2C964F #2C3E96 #962C73
split-complementary
#96842C #2C7396 #4F2C96
monochromatic
#373110 #675A1E #96842C #C5AE3A #D3C169

Accessibility & contrast

On white

3.73
#96842C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#96842C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96842C
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96842C#FFFFFF#000000##000000
##96842C1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918120
Deuteranopia (green-blind)
#968731
Tritanopia (blue-blind)
#A27A72
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #96842c;
/* rgb */ color: rgb(150, 132, 44);
/* oklch */ color: oklch(61.3% 0.108 97.4);
Tailwind
colors: {
  custom: {
    50: '#b8a76a',
    500: '#96842c',
    950: '#000000',
  },
}
SCSS
$custom: #96842c;
$custom-light: #b8a76a;
$custom-dark: #000000;
JSON
{
  "hex": "#96842c",
  "rgb": {
    "r": 150,
    "g": 132,
    "b": 44
  },
  "hsl": {
    "h": 49.811,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61304,
    "c": 0.10805,
    "h": 97.4
  },
  "luminance": 0.23168
}

Semantic roles & 50–950 ramp

primary
#96842C
secondary
#6473BA
accent
#63DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #96842C

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

Preview Lab → · Contrast checker → · Palette generator →

#96842C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva