#96A526#96A526

#96A526 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 68.8% C 0.145 H 116.4°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#96A526
RGBrgb(150, 165, 38)
HSLhsl(67, 63%, 40%)
HSVhsv(67, 77%, 65%)
CMYKcmyk(9.1%, 0%, 77%, 35.3%)
CIE-LABlab(64.59, -21.21, 59.15)
CIE-LCHlch(64.59, 62.84, 109.73°)
OKLaboklab(68.75% -0.0644 0.1299)
OKLCHoklch(68.75% 0.145 116.4)
XYZxyz(26.3834, 33.5346, 6.9163)
Luminance0.3353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A526 #3526A5
analogous
#A57526 #96A526 #56A526
triadic
#96A526 #2696A5 #A52696
tetradic
#96A526 #26A575 #3526A5 #A52656
square
#96A526 #26A575 #3526A5 #A52656
split-complementary
#96A526 #2656A5 #7526A5
monochromatic
#3C420F #69731B #96A526 #BFD137 #CFDC69

Accessibility & contrast

On white

2.72
#96A526 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#96A526 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A526
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A526#FFFFFF#000000##000000
##96A5261.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #96a526;
/* rgb */ color: rgb(150, 165, 38);
/* oklch */ color: oklch(68.8% 0.145 116.4);
Tailwind
colors: {
  custom: {
    50: '#b8bf6b',
    500: '#96a526',
    950: '#000000',
  },
}
SCSS
$custom: #96a526;
$custom-light: #b8bf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#96a526",
  "rgb": {
    "r": 150,
    "g": 165,
    "b": 38
  },
  "hsl": {
    "h": 67.087,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.6875,
    "c": 0.14495,
    "h": 116.4
  },
  "luminance": 0.33534
}

Semantic roles & 50–950 ramp

primary
#96A526
secondary
#6F64C3
accent
#42E655
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96A526

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

Preview Lab → · Contrast checker → · Palette generator →

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