#96842D#96842D

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

Color values

HEX#96842D
RGBrgb(150, 132, 45)
HSLhsl(50, 54%, 38%)
HSVhsv(50, 70%, 59%)
CMYKcmyk(0%, 12%, 70%, 41.2%)
CIE-LABlab(55.25, -3.41, 47.45)
CIE-LCHlch(55.25, 47.58, 94.11°)
OKLaboklab(61.31% -0.0137 0.1064)
OKLCHoklch(61.31% 0.107 97.4)
XYZxyz(21.3036, 23.1771, 5.8336)
Luminance0.2318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96842D #2D3F96
analogous
#964F2D #96842D #73962D
triadic
#96842D #2D9684 #842D96
tetradic
#96842D #2D964F #2D3F96 #962D73
square
#96842D #2D964F #2D3F96 #962D73
split-complementary
#96842D #2D7396 #4F2D96
monochromatic
#383111 #675B1F #96842D #C4AD3C #D3C16B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96842D#FFFFFF#000000##000000
##96842D1.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)
#918121
Deuteranopia (green-blind)
#968732
Tritanopia (blue-blind)
#A27A72
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #96842d;
/* rgb */ color: rgb(150, 132, 45);
/* oklch */ color: oklch(61.3% 0.107 97.4);
Tailwind
colors: {
  custom: {
    50: '#b8a76b',
    500: '#96842d',
    950: '#000000',
  },
}
SCSS
$custom: #96842d;
$custom-light: #b8a76b;
$custom-dark: #000000;
JSON
{
  "hex": "#96842d",
  "rgb": {
    "r": 150,
    "g": 132,
    "b": 45
  },
  "hsl": {
    "h": 49.714,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.61313,
    "c": 0.10731,
    "h": 97.4
  },
  "luminance": 0.23176
}

Semantic roles & 50–950 ramp

primary
#96842D
secondary
#6574B9
accent
#64DD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #96842D

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

Preview Lab → · Contrast checker → · Palette generator →

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