#96A827#96A827

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

Color values

HEX#96A827
RGBrgb(150, 168, 39)
HSLhsl(68, 62%, 41%)
HSVhsv(68, 77%, 66%)
CMYKcmyk(10.7%, 0%, 76.8%, 34.1%)
CIE-LABlab(65.46, -22.67, 59.64)
CIE-LCHlch(65.46, 63.80, 110.81°)
OKLaboklab(69.45% -0.0683 0.1311)
OKLCHoklch(69.45% 0.148 117.5)
XYZxyz(26.9472, 34.6361, 7.1849)
Luminance0.3464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A827 #3927A8
analogous
#A87927 #96A827 #55A827
triadic
#96A827 #2796A8 #A82796
tetradic
#96A827 #27A879 #3927A8 #A82755
square
#96A827 #27A879 #3927A8 #A82755
split-complementary
#96A827 #2755A8 #7927A8
monochromatic
#3D4510 #6A761B #96A827 #BCD13B #CDDD6C

Accessibility & contrast

On white

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

On black

7.93
#96A827 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A827
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A827#FFFFFF#000000##000000
##96A8271.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #96a827;
/* rgb */ color: rgb(150, 168, 39);
/* oklch */ color: oklch(69.5% 0.148 117.5);
Tailwind
colors: {
  custom: {
    50: '#b8c16c',
    500: '#96a827',
    950: '#000000',
  },
}
SCSS
$custom: #96a827;
$custom-light: #b8c16c;
$custom-dark: #000000;
JSON
{
  "hex": "#96a827",
  "rgb": {
    "r": 150,
    "g": 168,
    "b": 39
  },
  "hsl": {
    "h": 68.372,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.69453,
    "c": 0.14782,
    "h": 117.5
  },
  "luminance": 0.34636
}

Semantic roles & 50–950 ramp

primary
#96A827
secondary
#7467C3
accent
#42E559
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96A827

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

Preview Lab → · Contrast checker → · Palette generator →

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