#96A51E#96A51E

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

Color values

HEX#96A51E
RGBrgb(150, 165, 30)
HSLhsl(67, 69%, 38%)
HSVhsv(67, 82%, 65%)
CMYKcmyk(9.1%, 0%, 81.8%, 35.3%)
CIE-LABlab(64.55, -21.53, 61.50)
CIE-LCHlch(64.55, 65.16, 109.30°)
OKLaboklab(68.71% -0.0659 0.1335)
OKLCHoklch(68.71% 0.149 116.3)
XYZxyz(26.2679, 33.4884, 6.3082)
Luminance0.3349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A51E #2D1EA5
analogous
#A5701E #96A51E #52A51E
triadic
#96A51E #1E96A5 #A51E96
tetradic
#96A51E #1EA570 #2D1EA5 #A51E52
square
#96A51E #1EA570 #2D1EA5 #A51E52
split-complementary
#96A51E #1E52A5 #701EA5
monochromatic
#383D0B #677115 #96A51E #C4D828 #D3E15C

Accessibility & contrast

On white

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

On black

7.70
#96A51E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A51E
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A51E#FFFFFF#000000##000000
##96A51E1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #96a51e;
/* rgb */ color: rgb(150, 165, 30);
/* oklch */ color: oklch(68.7% 0.149 116.3);
Tailwind
colors: {
  custom: {
    50: '#b9bf68',
    500: '#96a51e',
    950: '#000000',
  },
}
SCSS
$custom: #96a51e;
$custom-light: #b9bf68;
$custom-dark: #000000;
JSON
{
  "hex": "#96a51e",
  "rgb": {
    "r": 150,
    "g": 165,
    "b": 30
  },
  "hsl": {
    "h": 66.667,
    "s": 69.231,
    "l": 38.235
  },
  "oklch": {
    "l": 0.68708,
    "c": 0.14883,
    "h": 116.3
  },
  "luminance": 0.33488
}

Semantic roles & 50–950 ramp

primary
#96A51E
secondary
#6559C5
accent
#3CEC4F
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #96A51E

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

Preview Lab → · Contrast checker → · Palette generator →

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