#96A91F#96A91F

#96A91F is a light, vivid yellow. Relative luminance 0.350; OKLCH L 69.6% C 0.153 H 117.8°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#96A91F
RGBrgb(150, 169, 31)
HSLhsl(68, 69%, 39%)
HSVhsv(68, 82%, 66%)
CMYKcmyk(11.2%, 0%, 81.7%, 33.7%)
CIE-LABlab(65.72, -23.49, 62.24)
CIE-LCHlch(65.72, 66.53, 110.67°)
OKLaboklab(69.64% -0.0712 0.1352)
OKLCHoklch(69.64% 0.153 117.8)
XYZxyz(27.0137, 34.9592, 6.6208)
Luminance0.3496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A91F #321FA9
analogous
#A9771F #96A91F #51A91F
triadic
#96A91F #1F96A9 #A91F96
tetradic
#96A91F #1FA977 #321FA9 #A91F51
square
#96A91F #1FA977 #321FA9 #A91F51
split-complementary
#96A91F #1F51A9 #771FA9
monochromatic
#3A420C #687516 #96A91F #C1D82D #D0E260

Accessibility & contrast

On white

2.63
#96A91F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#96A91F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A91F
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A91F#FFFFFF#000000##000000
##96A91F1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B3A02D
Tritanopia (blue-blind)
#A09F90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #96a91f;
/* rgb */ color: rgb(150, 169, 31);
/* oklch */ color: oklch(69.6% 0.153 117.8);
Tailwind
colors: {
  custom: {
    50: '#b9c269',
    500: '#96a91f',
    950: '#000000',
  },
}
SCSS
$custom: #96a91f;
$custom-light: #b9c269;
$custom-dark: #000000;
JSON
{
  "hex": "#96a91f",
  "rgb": {
    "r": 150,
    "g": 169,
    "b": 31
  },
  "hsl": {
    "h": 68.261,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.69644,
    "c": 0.15281,
    "h": 117.8
  },
  "luminance": 0.34959
}

Semantic roles & 50–950 ramp

primary
#96A91F
secondary
#6C5DC7
accent
#3CEC54
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #96A91F

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

Preview Lab → · Contrast checker → · Palette generator →

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