#96942B#96942B

#96942B is a light, vivid yellow. Relative luminance 0.278; OKLCH L 64.9% C 0.124 H 108.3°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#96942B
RGBrgb(150, 148, 43)
HSLhsl(59, 55%, 38%)
HSVhsv(59, 71%, 59%)
CMYKcmyk(0%, 1.3%, 71.3%, 41.2%)
CIE-LABlab(59.74, -12.19, 52.77)
CIE-LCHlch(59.74, 54.16, 103.01°)
OKLaboklab(64.88% -0.0388 0.1173)
OKLCHoklch(64.88% 0.124 108.3)
XYZxyz(23.6045, 27.8390, 6.4151)
Luminance0.2784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96942B #2B2D96
analogous
#965F2B #96942B #62962B
triadic
#96942B #2B9694 #942B96
tetradic
#96942B #2B965F #2B2D96 #962B62
square
#96942B #2B965F #2B2D96 #962B62
split-complementary
#96942B #2B6296 #5F2B96
monochromatic
#373610 #66651D #96942B #C6C339 #D4D268

Accessibility & contrast

On white

3.20
#96942B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#96942B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96942B
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96942B#FFFFFF#000000##000000
##96942B1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E19
Deuteranopia (green-blind)
#A29233
Tritanopia (blue-blind)
#A18A7F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #96942b;
/* rgb */ color: rgb(150, 148, 43);
/* oklch */ color: oklch(64.9% 0.124 108.3);
Tailwind
colors: {
  custom: {
    50: '#b8b36c',
    500: '#96942b',
    950: '#000000',
  },
}
SCSS
$custom: #96942b;
$custom-light: #b8b36c;
$custom-dark: #000000;
JSON
{
  "hex": "#96942b",
  "rgb": {
    "r": 150,
    "g": 148,
    "b": 43
  },
  "hsl": {
    "h": 58.879,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.64877,
    "c": 0.12353,
    "h": 108.3
  },
  "luminance": 0.27838
}

Semantic roles & 50–950 ramp

primary
#96942B
secondary
#6364BA
accent
#4CDF49
background
#FBFAF6
surface
#F6F5EC
border
#D0CFC7
text
#121107
muted
#81807A

Preview Lab

Preview with #96942B

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

Preview Lab → · Contrast checker → · Palette generator →

#96942B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva