#96A027#96A027

#96A027 is a light, vivid yellow. Relative luminance 0.318; OKLCH L 67.6% C 0.139 H 114.3°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#96A027
RGBrgb(150, 160, 39)
HSLhsl(65, 61%, 39%)
HSVhsv(65, 76%, 63%)
CMYKcmyk(6.2%, 0%, 75.6%, 37.3%)
CIE-LABlab(63.15, -18.64, 57.48)
CIE-LCHlch(63.15, 60.43, 107.96°)
OKLaboklab(67.6% -0.0572 0.1265)
OKLCHoklch(67.6% 0.139 114.3)
XYZxyz(25.5154, 31.7726, 6.7077)
Luminance0.3177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A027 #3127A0
analogous
#A06E27 #96A027 #5AA027
triadic
#96A027 #2796A0 #A02796
tetradic
#96A027 #27A06E #3127A0 #A0275A
square
#96A027 #27A06E #3127A0 #A0275A
split-complementary
#96A027 #275AA0 #6E27A0
monochromatic
#3A3E0F #686F1B #96A027 #C1CE36 #D1DA67

Accessibility & contrast

On white

2.86
#96A027 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#96A027 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A027
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A027#FFFFFF#000000##000000
##96A0271.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC980B
Deuteranopia (green-blind)
#AC9A31
Tritanopia (blue-blind)
#A09689
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #96a027;
/* rgb */ color: rgb(150, 160, 39);
/* oklch */ color: oklch(67.6% 0.139 114.3);
Tailwind
colors: {
  custom: {
    50: '#b8bb6b',
    500: '#96a027',
    950: '#000000',
  },
}
SCSS
$custom: #96a027;
$custom-light: #b8bb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#96a027",
  "rgb": {
    "r": 150,
    "g": 160,
    "b": 39
  },
  "hsl": {
    "h": 64.959,
    "s": 60.804,
    "l": 39.02
  },
  "oklch": {
    "l": 0.67598,
    "c": 0.13883,
    "h": 114.3
  },
  "luminance": 0.31772
}

Semantic roles & 50–950 ramp

primary
#96A027
secondary
#6A63C0
accent
#44E451
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #96A027

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

Preview Lab → · Contrast checker → · Palette generator →

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