#96842E#96842E

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

Color values

HEX#96842E
RGBrgb(150, 132, 46)
HSLhsl(50, 53%, 38%)
HSVhsv(50, 69%, 59%)
CMYKcmyk(0%, 12%, 69.3%, 41.2%)
CIE-LABlab(55.26, -3.35, 47.03)
CIE-LCHlch(55.26, 47.15, 94.08°)
OKLaboklab(61.32% -0.0134 0.1057)
OKLCHoklch(61.32% 0.107 97.2)
XYZxyz(21.3231, 23.1849, 5.9362)
Luminance0.2318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96842E #2E4096
analogous
#96502E #96842E #74962E
triadic
#96842E #2E9684 #842E96
tetradic
#96842E #2E9650 #2E4096 #962E74
square
#96842E #2E9650 #2E4096 #962E74
split-complementary
#96842E #2E7496 #502E96
monochromatic
#383211 #675B20 #96842E #C4AC3E #D2C06C

Accessibility & contrast

On white

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

On black

5.64
#96842E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96842E
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96842E#FFFFFF#000000##000000
##96842E1.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #96842e;
/* rgb */ color: rgb(150, 132, 46);
/* oklch */ color: oklch(61.3% 0.107 97.2);
Tailwind
colors: {
  custom: {
    50: '#b8a76c',
    500: '#96842e',
    950: '#000000',
  },
}
SCSS
$custom: #96842e;
$custom-light: #b8a76c;
$custom-dark: #000000;
JSON
{
  "hex": "#96842e",
  "rgb": {
    "r": 150,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 49.615,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.61321,
    "c": 0.10656,
    "h": 97.2
  },
  "luminance": 0.23184
}

Semantic roles & 50–950 ramp

primary
#96842E
secondary
#6775B9
accent
#64DC4B
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #96842E

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

Preview Lab → · Contrast checker → · Palette generator →

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