#96A523#96A523

#96A523 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 68.7% C 0.146 H 116.3°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#96A523
RGBrgb(150, 165, 35)
HSLhsl(67, 65%, 39%)
HSVhsv(67, 79%, 65%)
CMYKcmyk(9.1%, 0%, 78.8%, 35.3%)
CIE-LABlab(64.58, -21.34, 60.08)
CIE-LCHlch(64.58, 63.76, 109.56°)
OKLaboklab(68.73% -0.065 0.1313)
OKLCHoklch(68.73% 0.147 116.3)
XYZxyz(26.3369, 33.5160, 6.6716)
Luminance0.3352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A523 #3223A5
analogous
#A57323 #96A523 #55A523
triadic
#96A523 #2396A5 #A52396
tetradic
#96A523 #23A573 #3223A5 #A52355
square
#96A523 #23A573 #3223A5 #A52355
split-complementary
#96A523 #2355A5 #7323A5
monochromatic
#3A400E #687318 #96A523 #C1D332 #D0DE64

Accessibility & contrast

On white

2.73
#96A523 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#96A523 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A523
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A523#FFFFFF#000000##000000
##96A5231.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B09D2F
Tritanopia (blue-blind)
#A09B8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #96a523;
/* rgb */ color: rgb(150, 165, 35);
/* oklch */ color: oklch(68.7% 0.146 116.3);
Tailwind
colors: {
  custom: {
    50: '#b8bf6a',
    500: '#96a523',
    950: '#000000',
  },
}
SCSS
$custom: #96a523;
$custom-light: #b8bf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#96a523",
  "rgb": {
    "r": 150,
    "g": 165,
    "b": 35
  },
  "hsl": {
    "h": 66.923,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.68733,
    "c": 0.1465,
    "h": 116.3
  },
  "luminance": 0.33516
}

Semantic roles & 50–950 ramp

primary
#96A523
secondary
#6C60C4
accent
#40E853
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96A523

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

Preview Lab → · Contrast checker → · Palette generator →

#96A523 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva