#96891F#96891F

#96891F is a light, vivid yellow. Relative luminance 0.245; OKLCH L 62.3% C 0.120 H 101.9°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#96891F
RGBrgb(150, 137, 31)
HSLhsl(53, 66%, 35%)
HSVhsv(53, 79%, 59%)
CMYKcmyk(0%, 8.7%, 79.3%, 41.2%)
CIE-LABlab(56.56, -6.83, 54.09)
CIE-LCHlch(56.56, 54.52, 97.20°)
OKLaboklab(62.32% -0.0249 0.1178)
OKLCHoklch(62.32% 0.12 101.9)
XYZxyz(21.7717, 24.4753, 4.8735)
Luminance0.2447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96891F #1F2C96
analogous
#964D1F #96891F #68961F
triadic
#96891F #1F9689 #891F96
tetradic
#96891F #1F964D #1F2C96 #961F68
square
#96891F #1F964D #1F2C96 #961F68
split-complementary
#96891F #1F6896 #4D1F96
monochromatic
#312C0A #635B15 #96891F #C9B729 #DCCD54

Accessibility & contrast

On white

3.56
#96891F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#96891F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96891F
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96891F#FFFFFF#000000##000000
##96891F1.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#968504
Deuteranopia (green-blind)
#9A8A27
Tritanopia (blue-blind)
#A27F75
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #96891f;
/* rgb */ color: rgb(150, 137, 31);
/* oklch */ color: oklch(62.3% 0.120 101.9);
Tailwind
colors: {
  custom: {
    50: '#b9ab64',
    500: '#96891f',
    950: '#000000',
  },
}
SCSS
$custom: #96891f;
$custom-light: #b9ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#96891f",
  "rgb": {
    "r": 150,
    "g": 137,
    "b": 31
  },
  "hsl": {
    "h": 53.445,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.6232,
    "c": 0.12039,
    "h": 101.9
  },
  "luminance": 0.24474
}

Semantic roles & 50–950 ramp

primary
#96891F
secondary
#525EBF
accent
#52E93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #96891F

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

Preview Lab → · Contrast checker → · Palette generator →

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