#96A830#96A830

#96A830 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.5% C 0.142 H 117.7°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#96A830
RGBrgb(150, 168, 48)
HSLhsl(69, 56%, 42%)
HSVhsv(69, 71%, 66%)
CMYKcmyk(10.7%, 0%, 71.4%, 34.1%)
CIE-LABlab(65.52, -22.22, 56.55)
CIE-LCHlch(65.52, 60.76, 111.45°)
OKLaboklab(69.51% -0.0663 0.1261)
OKLCHoklch(69.51% 0.142 117.7)
XYZxyz(27.1144, 34.7030, 8.0657)
Luminance0.3470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A830 #4230A8
analogous
#A87E30 #96A830 #5AA830
triadic
#96A830 #3096A8 #A83096
tetradic
#96A830 #30A87E #4230A8 #A8305A
square
#96A830 #30A87E #4230A8 #A8305A
split-complementary
#96A830 #305AA8 #7E30A8
monochromatic
#414915 #6C7822 #96A830 #B8CB4A #CBD97A

Accessibility & contrast

On white

2.64
#96A830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#96A830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A830
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A830#FFFFFF#000000##000000
##96A8301.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F1B
Deuteranopia (green-blind)
#B1A03A
Tritanopia (blue-blind)
#9F9F91
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #96a830;
/* rgb */ color: rgb(150, 168, 48);
/* oklch */ color: oklch(69.5% 0.142 117.7);
Tailwind
colors: {
  custom: {
    50: '#b8c170',
    500: '#96a830',
    950: '#000000',
  },
}
SCSS
$custom: #96a830;
$custom-light: #b8c170;
$custom-dark: #000000;
JSON
{
  "hex": "#96a830",
  "rgb": {
    "r": 150,
    "g": 168,
    "b": 48
  },
  "hsl": {
    "h": 69,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69512,
    "c": 0.14247,
    "h": 117.7
  },
  "luminance": 0.34703
}

Semantic roles & 50–950 ramp

primary
#96A830
secondary
#7E73C1
accent
#49DF5F
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #96A830

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

Preview Lab → · Contrast checker → · Palette generator →

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