#96902A#96902A

#96902A is a light, vivid yellow. Relative luminance 0.266; OKLCH L 64.0% C 0.120 H 106.0°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#96902A
RGBrgb(150, 144, 42)
HSLhsl(57, 56%, 38%)
HSVhsv(57, 72%, 59%)
CMYKcmyk(0%, 4%, 72%, 41.2%)
CIE-LABlab(58.60, -10.11, 52.04)
CIE-LCHlch(58.60, 53.01, 101.00°)
OKLaboklab(63.96% -0.0331 0.1156)
OKLCHoklch(63.96% 0.12 106)
XYZxyz(22.9698, 26.5985, 6.1141)
Luminance0.2660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96902A #2A3096
analogous
#965A2A #96902A #66962A
triadic
#96902A #2A9690 #902A96
tetradic
#96902A #2A965A #2A3096 #962A66
square
#96902A #2A965A #2A3096 #962A66
split-complementary
#96902A #2A6696 #5A2A96
monochromatic
#36340F #66621D #96902A #C6BE37 #D4CE66

Accessibility & contrast

On white

3.32
#96902A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#96902A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96902A
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96902A#FFFFFF#000000##000000
##96902A1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B19
Deuteranopia (green-blind)
#9F8F31
Tritanopia (blue-blind)
#A1867C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #96902a;
/* rgb */ color: rgb(150, 144, 42);
/* oklch */ color: oklch(64.0% 0.120 106.0);
Tailwind
colors: {
  custom: {
    50: '#b8b06b',
    500: '#96902a',
    950: '#000000',
  },
}
SCSS
$custom: #96902a;
$custom-light: #b8b06b;
$custom-dark: #000000;
JSON
{
  "hex": "#96902a",
  "rgb": {
    "r": 150,
    "g": 144,
    "b": 42
  },
  "hsl": {
    "h": 56.667,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63964,
    "c": 0.12019,
    "h": 106
  },
  "luminance": 0.26598
}

Semantic roles & 50–950 ramp

primary
#96902A
secondary
#6166BA
accent
#51E048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #96902A

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

Preview Lab → · Contrast checker → · Palette generator →

#96902A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva