#96A51B#96A51B

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

Color values

HEX#96A51B
RGBrgb(150, 165, 27)
HSLhsl(67, 72%, 38%)
HSVhsv(67, 84%, 65%)
CMYKcmyk(9.1%, 0%, 83.6%, 35.3%)
CIE-LABlab(64.54, -21.63, 62.27)
CIE-LCHlch(64.54, 65.92, 109.16°)
OKLaboklab(68.69% -0.0664 0.1346)
OKLCHoklch(68.69% 0.15 116.2)
XYZxyz(26.2314, 33.4738, 6.1159)
Luminance0.3347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A51B #2A1BA5
analogous
#A56F1B #96A51B #51A51B
triadic
#96A51B #1B96A5 #A51B96
tetradic
#96A51B #1BA56F #2A1BA5 #A51B51
square
#96A51B #1BA56F #2A1BA5 #A51B51
split-complementary
#96A51B #1B51A5 #6F1BA5
monochromatic
#363C0A #667012 #96A51B #C6DA24 #D4E357

Accessibility & contrast

On white

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

On black

7.69
#96A51B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A51B
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A51B#FFFFFF#000000##000000
##96A51B1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #96a51b;
/* rgb */ color: rgb(150, 165, 27);
/* oklch */ color: oklch(68.7% 0.150 116.2);
Tailwind
colors: {
  custom: {
    50: '#b9bf67',
    500: '#96a51b',
    950: '#000000',
  },
}
SCSS
$custom: #96a51b;
$custom-light: #b9bf67;
$custom-dark: #000000;
JSON
{
  "hex": "#96a51b",
  "rgb": {
    "r": 150,
    "g": 165,
    "b": 27
  },
  "hsl": {
    "h": 66.522,
    "s": 71.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.68695,
    "c": 0.15007,
    "h": 116.2
  },
  "luminance": 0.33473
}

Semantic roles & 50–950 ramp

primary
#96A51B
secondary
#6155C7
accent
#39EF4D
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #96A51B

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

Preview Lab → · Contrast checker → · Palette generator →

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