#96A823#96A823

#96A823 is a light, vivid yellow. Relative luminance 0.346; OKLCH L 69.4% C 0.150 H 117.5°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#96A823
RGBrgb(150, 168, 35)
HSLhsl(68, 66%, 40%)
HSVhsv(68, 79%, 66%)
CMYKcmyk(10.7%, 0%, 79.2%, 34.1%)
CIE-LABlab(65.44, -22.84, 60.86)
CIE-LCHlch(65.44, 65.01, 110.57°)
OKLaboklab(69.43% -0.0691 0.133)
OKLCHoklch(69.43% 0.15 117.5)
XYZxyz(26.8844, 34.6110, 6.8541)
Luminance0.3461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A823 #3523A8
analogous
#A87723 #96A823 #54A823
triadic
#96A823 #2396A8 #A82396
tetradic
#96A823 #23A877 #3523A8 #A82354
square
#96A823 #23A877 #3523A8 #A82354
split-complementary
#96A823 #2354A8 #7723A8
monochromatic
#3C430E #697518 #96A823 #BFD534 #CFDF66

Accessibility & contrast

On white

2.65
#96A823 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#96A823 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A823
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A823#FFFFFF#000000##000000
##96A8231.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B2A030
Tritanopia (blue-blind)
#A09E90
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #96a823;
/* rgb */ color: rgb(150, 168, 35);
/* oklch */ color: oklch(69.4% 0.150 117.5);
Tailwind
colors: {
  custom: {
    50: '#b8c16a',
    500: '#96a823',
    950: '#000000',
  },
}
SCSS
$custom: #96a823;
$custom-light: #b8c16a;
$custom-dark: #000000;
JSON
{
  "hex": "#96a823",
  "rgb": {
    "r": 150,
    "g": 168,
    "b": 35
  },
  "hsl": {
    "h": 68.12,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.69431,
    "c": 0.14986,
    "h": 117.5
  },
  "luminance": 0.34611
}

Semantic roles & 50–950 ramp

primary
#96A823
secondary
#6F62C5
accent
#3FE856
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96A823

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

Preview Lab → · Contrast checker → · Palette generator →

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