#96A62F#96A62F

#96A62F is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.0% C 0.141 H 116.9°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#96A62F
RGBrgb(150, 166, 47)
HSLhsl(68, 56%, 42%)
HSVhsv(68, 72%, 65%)
CMYKcmyk(9.6%, 0%, 71.7%, 34.9%)
CIE-LABlab(64.93, -21.27, 56.35)
CIE-LCHlch(64.93, 60.23, 110.68°)
OKLaboklab(69.04% -0.0637 0.1255)
OKLCHoklch(69.04% 0.141 116.9)
XYZxyz(26.7276, 33.9620, 7.8361)
Luminance0.3396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A62F #3F2FA6
analogous
#A67B2F #96A62F #5BA62F
triadic
#96A62F #2F96A6 #A62F96
tetradic
#96A62F #2FA67B #3F2FA6 #A62F5B
square
#96A62F #2FA67B #3F2FA6 #A62F5B
split-complementary
#96A62F #2F5BA6 #7B2FA6
monochromatic
#404714 #6B7621 #96A62F #B9CB47 #CBD877

Accessibility & contrast

On white

2.69
#96A62F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#96A62F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A62F
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A62F#FFFFFF#000000##000000
##96A62F1.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1A
Deuteranopia (green-blind)
#B09E39
Tritanopia (blue-blind)
#9F9D8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #96a62f;
/* rgb */ color: rgb(150, 166, 47);
/* oklch */ color: oklch(69.0% 0.141 116.9);
Tailwind
colors: {
  custom: {
    50: '#b8c070',
    500: '#96a62f',
    950: '#000000',
  },
}
SCSS
$custom: #96a62f;
$custom-light: #b8c070;
$custom-dark: #000000;
JSON
{
  "hex": "#96a62f",
  "rgb": {
    "r": 150,
    "g": 166,
    "b": 47
  },
  "hsl": {
    "h": 68.067,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.6904,
    "c": 0.14079,
    "h": 116.9
  },
  "luminance": 0.33962
}

Semantic roles & 50–950 ramp

primary
#96A62F
secondary
#7B70C1
accent
#49DF5D
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #96A62F

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

Preview Lab → · Contrast checker → · Palette generator →

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