#96A02F#96A02F

#96A02F is a light, vivid yellow. Relative luminance 0.318; OKLCH L 67.7% C 0.134 H 114.4°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#96A02F
RGBrgb(150, 160, 47)
HSLhsl(65, 55%, 41%)
HSVhsv(65, 71%, 63%)
CMYKcmyk(6.2%, 0%, 70.6%, 37.3%)
CIE-LABlab(63.20, -18.23, 54.64)
CIE-LCHlch(63.20, 57.60, 108.45°)
OKLaboklab(67.65% -0.0553 0.1219)
OKLCHoklch(67.65% 0.134 114.4)
XYZxyz(25.6623, 31.8313, 7.4810)
Luminance0.3183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A02F #392FA0
analogous
#A0712F #96A02F #5DA02F
triadic
#96A02F #2F96A0 #A02F96
tetradic
#96A02F #2FA071 #392FA0 #A02F5D
square
#96A02F #2FA071 #392FA0 #A02F5D
split-complementary
#96A02F #2F5DA0 #712FA0
monochromatic
#3D4113 #6A7121 #96A02F #BCC844 #CDD673

Accessibility & contrast

On white

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

On black

7.37
#96A02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A02F
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A02F#FFFFFF#000000##000000
##96A02F1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC981C
Deuteranopia (green-blind)
#AB9A38
Tritanopia (blue-blind)
#A0978A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #96a02f;
/* rgb */ color: rgb(150, 160, 47);
/* oklch */ color: oklch(67.7% 0.134 114.4);
Tailwind
colors: {
  custom: {
    50: '#b8bc6f',
    500: '#96a02f',
    950: '#000000',
  },
}
SCSS
$custom: #96a02f;
$custom-light: #b8bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#96a02f",
  "rgb": {
    "r": 150,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 65.31,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.67653,
    "c": 0.13389,
    "h": 114.4
  },
  "luminance": 0.31831
}

Semantic roles & 50–950 ramp

primary
#96A02F
secondary
#746DBE
accent
#4ADE57
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #96A02F

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

Preview Lab → · Contrast checker → · Palette generator →

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