#96A71E#96A71E

#96A71E is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.2% C 0.151 H 117.0°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#96A71E
RGBrgb(150, 167, 30)
HSLhsl(67, 70%, 39%)
HSVhsv(67, 82%, 65%)
CMYKcmyk(10.2%, 0%, 82%, 34.5%)
CIE-LABlab(65.13, -22.53, 62.00)
CIE-LCHlch(65.13, 65.97, 109.97°)
OKLaboklab(69.17% -0.0686 0.1345)
OKLCHoklch(69.17% 0.151 117)
XYZxyz(26.6315, 34.2155, 6.4294)
Luminance0.3422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A71E #2F1EA7
analogous
#A7731E #96A71E #51A71E
triadic
#96A71E #1E96A7 #A71E96
tetradic
#96A71E #1EA773 #2F1EA7 #A71E51
square
#96A71E #1EA773 #2F1EA7 #A71E51
split-complementary
#96A71E #1E51A7 #731EA7
monochromatic
#393F0B #677315 #96A71E #C3D92A #D2E25D

Accessibility & contrast

On white

2.68
#96A71E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#96A71E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A71E
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A71E#FFFFFF#000000##000000
##96A71E1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B19F2C
Tritanopia (blue-blind)
#A09D8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #96a71e;
/* rgb */ color: rgb(150, 167, 30);
/* oklch */ color: oklch(69.2% 0.151 117.0);
Tailwind
colors: {
  custom: {
    50: '#b9c168',
    500: '#96a71e',
    950: '#000000',
  },
}
SCSS
$custom: #96a71e;
$custom-light: #b9c168;
$custom-dark: #000000;
JSON
{
  "hex": "#96a71e",
  "rgb": {
    "r": 150,
    "g": 167,
    "b": 30
  },
  "hsl": {
    "h": 67.445,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.69174,
    "c": 0.15102,
    "h": 117
  },
  "luminance": 0.34215
}

Semantic roles & 50–950 ramp

primary
#96A71E
secondary
#685BC6
accent
#3BEC51
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #96A71E

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

Preview Lab → · Contrast checker → · Palette generator →

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