#96A41F#96A41F

#96A41F is a light, vivid yellow. Relative luminance 0.331; OKLCH L 68.5% C 0.147 H 115.9°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#96A41F
RGBrgb(150, 164, 31)
HSLhsl(66, 68%, 38%)
HSVhsv(66, 81%, 64%)
CMYKcmyk(8.5%, 0%, 81.1%, 35.7%)
CIE-LABlab(64.27, -20.99, 60.97)
CIE-LCHlch(64.27, 64.49, 109.00°)
OKLaboklab(68.48% -0.0643 0.1325)
OKLCHoklch(68.48% 0.147 115.9)
XYZxyz(26.1012, 33.1343, 6.3166)
Luminance0.3313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A41F #2D1FA4
analogous
#A46F1F #96A41F #53A41F
triadic
#96A41F #1F96A4 #A41F96
tetradic
#96A41F #1FA46F #2D1FA4 #A41F53
square
#96A41F #1FA46F #2D1FA4 #A41F53
split-complementary
#96A41F #1F53A4 #6F1FA4
monochromatic
#383D0C #677115 #96A41F #C4D72A #D3E05D

Accessibility & contrast

On white

2.75
#96A41F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#96A41F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A41F
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A41F#FFFFFF#000000##000000
##96A41F1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#AF9D2C
Tritanopia (blue-blind)
#A09A8C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #96a41f;
/* rgb */ color: rgb(150, 164, 31);
/* oklch */ color: oklch(68.5% 0.147 115.9);
Tailwind
colors: {
  custom: {
    50: '#b9be68',
    500: '#96a41f',
    950: '#000000',
  },
}
SCSS
$custom: #96a41f;
$custom-light: #b9be68;
$custom-dark: #000000;
JSON
{
  "hex": "#96a41f",
  "rgb": {
    "r": 150,
    "g": 164,
    "b": 31
  },
  "hsl": {
    "h": 66.316,
    "s": 68.205,
    "l": 38.235
  },
  "oklch": {
    "l": 0.68481,
    "c": 0.1473,
    "h": 115.9
  },
  "luminance": 0.33134
}

Semantic roles & 50–950 ramp

primary
#96A41F
secondary
#655AC5
accent
#3DEB4F
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #96A41F

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

Preview Lab → · Contrast checker → · Palette generator →

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