#96A627#96A627

#96A627 is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.0% C 0.146 H 116.8°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#96A627
RGBrgb(150, 166, 39)
HSLhsl(68, 62%, 40%)
HSVhsv(68, 77%, 65%)
CMYKcmyk(9.6%, 0%, 76.5%, 34.9%)
CIE-LABlab(64.89, -21.67, 59.10)
CIE-LCHlch(64.89, 62.95, 110.14°)
OKLaboklab(68.99% -0.0656 0.1299)
OKLCHoklch(68.99% 0.146 116.8)
XYZxyz(26.5808, 33.9033, 7.0628)
Luminance0.3390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A627 #3727A6
analogous
#A67627 #96A627 #57A627
triadic
#96A627 #2796A6 #A62796
tetradic
#96A627 #27A676 #3727A6 #A62757
square
#96A627 #27A676 #3727A6 #A62757
split-complementary
#96A627 #2757A6 #7627A6
monochromatic
#3C4310 #69741B #96A627 #BED13A #CEDC6B

Accessibility & contrast

On white

2.70
#96A627 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#96A627 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A627
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A627#FFFFFF#000000##000000
##96A6271.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D06
Deuteranopia (green-blind)
#B09E32
Tritanopia (blue-blind)
#A09C8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #96a627;
/* rgb */ color: rgb(150, 166, 39);
/* oklch */ color: oklch(69.0% 0.146 116.8);
Tailwind
colors: {
  custom: {
    50: '#b8c06c',
    500: '#96a627',
    950: '#000000',
  },
}
SCSS
$custom: #96a627;
$custom-light: #b8c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#96a627",
  "rgb": {
    "r": 150,
    "g": 166,
    "b": 39
  },
  "hsl": {
    "h": 67.559,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.68988,
    "c": 0.14554,
    "h": 116.8
  },
  "luminance": 0.33903
}

Semantic roles & 50–950 ramp

primary
#96A627
secondary
#7266C3
accent
#43E557
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96A627

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

Preview Lab → · Contrast checker → · Palette generator →

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