#96A427#96A427

#96A427 is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.5% C 0.143 H 116.0°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#96A427
RGBrgb(150, 164, 39)
HSLhsl(67, 62%, 40%)
HSVhsv(67, 76%, 64%)
CMYKcmyk(8.5%, 0%, 76.2%, 35.7%)
CIE-LABlab(64.31, -20.67, 58.56)
CIE-LCHlch(64.31, 62.10, 109.44°)
OKLaboklab(68.52% -0.0628 0.1288)
OKLCHoklch(68.52% 0.143 116)
XYZxyz(26.2201, 33.1818, 6.9425)
Luminance0.3318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A427 #3527A4
analogous
#A47427 #96A427 #58A427
triadic
#96A427 #2796A4 #A42796
tetradic
#96A427 #27A474 #3527A4 #A42758
square
#96A427 #27A474 #3527A4 #A42758
split-complementary
#96A427 #2758A4 #7427A4
monochromatic
#3C410F #69731B #96A427 #BFD038 #CFDC6A

Accessibility & contrast

On white

2.75
#96A427 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#96A427 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A427
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A427#FFFFFF#000000##000000
##96A4271.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B08
Deuteranopia (green-blind)
#AF9D32
Tritanopia (blue-blind)
#A09A8C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #96a427;
/* rgb */ color: rgb(150, 164, 39);
/* oklch */ color: oklch(68.5% 0.143 116.0);
Tailwind
colors: {
  custom: {
    50: '#b8be6b',
    500: '#96a427',
    950: '#000000',
  },
}
SCSS
$custom: #96a427;
$custom-light: #b8be6b;
$custom-dark: #000000;
JSON
{
  "hex": "#96a427",
  "rgb": {
    "r": 150,
    "g": 164,
    "b": 39
  },
  "hsl": {
    "h": 66.72,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68524,
    "c": 0.14329,
    "h": 116
  },
  "luminance": 0.33181
}

Semantic roles & 50–950 ramp

primary
#96A427
secondary
#6F65C2
accent
#43E555
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96A427

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

Preview Lab → · Contrast checker → · Palette generator →

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