#96A028#96A028

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

Color values

HEX#96A028
RGBrgb(150, 160, 40)
HSLhsl(65, 60%, 39%)
HSVhsv(65, 75%, 63%)
CMYKcmyk(6.2%, 0%, 75%, 37.3%)
CIE-LABlab(63.16, -18.59, 57.15)
CIE-LCHlch(63.16, 60.10, 108.02°)
OKLaboklab(67.6% -0.0569 0.126)
OKLCHoklch(67.6% 0.138 114.3)
XYZxyz(25.5322, 31.7793, 6.7961)
Luminance0.3178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A028 #3228A0
analogous
#A06E28 #96A028 #5AA028
triadic
#96A028 #2896A0 #A02896
tetradic
#96A028 #28A06E #3228A0 #A0285A
square
#96A028 #28A06E #3228A0 #A0285A
split-complementary
#96A028 #285AA0 #6E28A0
monochromatic
#3A3E10 #686F1C #96A028 #C1CD38 #D0D969

Accessibility & contrast

On white

2.85
#96A028 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#96A028 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A028
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A028#FFFFFF#000000##000000
##96A0281.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #96a028;
/* rgb */ color: rgb(150, 160, 40);
/* oklch */ color: oklch(67.6% 0.138 114.3);
Tailwind
colors: {
  custom: {
    50: '#b8bb6b',
    500: '#96a028',
    950: '#000000',
  },
}
SCSS
$custom: #96a028;
$custom-light: #b8bb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#96a028",
  "rgb": {
    "r": 150,
    "g": 160,
    "b": 40
  },
  "hsl": {
    "h": 65,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.67604,
    "c": 0.13826,
    "h": 114.3
  },
  "luminance": 0.31779
}

Semantic roles & 50–950 ramp

primary
#96A028
secondary
#6C64C0
accent
#45E352
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #96A028

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

Preview Lab → · Contrast checker → · Palette generator →

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