#96842F#96842F

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

Color values

HEX#96842F
RGBrgb(150, 132, 47)
HSLhsl(50, 52%, 39%)
HSVhsv(50, 69%, 59%)
CMYKcmyk(0%, 12%, 68.7%, 41.2%)
CIE-LABlab(55.27, -3.29, 46.60)
CIE-LCHlch(55.27, 46.71, 94.04°)
OKLaboklab(61.33% -0.0131 0.105)
OKLCHoklch(61.33% 0.106 97.1)
XYZxyz(21.3430, 23.1928, 6.0412)
Luminance0.2319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96842F #2F4196
analogous
#96502F #96842F #74962F
triadic
#96842F #2F9684 #842F96
tetradic
#96842F #2F9650 #2F4196 #962F74
square
#96842F #2F9650 #2F4196 #962F74
split-complementary
#96842F #2F7496 #502F96
monochromatic
#393212 #675B20 #96842F #C3AC3F #D2C06E

Accessibility & contrast

On white

3.72
#96842F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##96842F#FFFFFF#000000##000000
##96842F1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #96842f;
/* rgb */ color: rgb(150, 132, 47);
/* oklch */ color: oklch(61.3% 0.106 97.1);
Tailwind
colors: {
  custom: {
    50: '#b8a76c',
    500: '#96842f',
    950: '#000000',
  },
}
SCSS
$custom: #96842f;
$custom-light: #b8a76c;
$custom-dark: #000000;
JSON
{
  "hex": "#96842f",
  "rgb": {
    "r": 150,
    "g": 132,
    "b": 47
  },
  "hsl": {
    "h": 49.515,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.61331,
    "c": 0.10579,
    "h": 97.1
  },
  "luminance": 0.23192
}

Semantic roles & 50–950 ramp

primary
#96842F
secondary
#6876B9
accent
#65DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #96842F

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

Preview Lab → · Contrast checker → · Palette generator →

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