#96A118#96A118

#96A118 is a light, vivid yellow. Relative luminance 0.320; OKLCH L 67.8% C 0.147 H 114.6°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#96A118
RGBrgb(150, 161, 24)
HSLhsl(65, 74%, 36%)
HSVhsv(65, 85%, 63%)
CMYKcmyk(6.8%, 0%, 85.1%, 36.9%)
CIE-LABlab(63.38, -19.71, 62.01)
CIE-LCHlch(63.38, 65.07, 107.63°)
OKLaboklab(67.76% -0.0612 0.1335)
OKLCHoklch(67.76% 0.147 114.6)
XYZxyz(25.4882, 32.0402, 5.7057)
Luminance0.3204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A118 #2318A1
analogous
#A16818 #96A118 #52A118
triadic
#96A118 #1896A1 #A11896
tetradic
#96A118 #18A168 #2318A1 #A11852
square
#96A118 #18A168 #2318A1 #A11852
split-complementary
#96A118 #1852A1 #6818A1
monochromatic
#333608 #646C10 #96A118 #C8D620 #D9E54F

Accessibility & contrast

On white

2.83
#96A118 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#96A118 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A118
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A118#FFFFFF#000000##000000
##96A1181.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#AD9B27
Tritanopia (blue-blind)
#A09789
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #96a118;
/* rgb */ color: rgb(150, 161, 24);
/* oklch */ color: oklch(67.8% 0.147 114.6);
Tailwind
colors: {
  custom: {
    50: '#b9bc65',
    500: '#96a118',
    950: '#000000',
  },
}
SCSS
$custom: #96a118;
$custom-light: #b9bc65;
$custom-dark: #000000;
JSON
{
  "hex": "#96a118",
  "rgb": {
    "r": 150,
    "g": 161,
    "b": 24
  },
  "hsl": {
    "h": 64.818,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.67755,
    "c": 0.14692,
    "h": 114.6
  },
  "luminance": 0.3204
}

Semantic roles & 50–950 ramp

primary
#96A118
secondary
#584EC7
accent
#37F146
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121206
muted
#81817A

Preview Lab

Preview with #96A118

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

Preview Lab → · Contrast checker → · Palette generator →

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