#96A82F#96A82F

#96A82F is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.5% C 0.143 H 117.7°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#96A82F
RGBrgb(150, 168, 47)
HSLhsl(69, 56%, 42%)
HSVhsv(69, 72%, 66%)
CMYKcmyk(10.7%, 0%, 72%, 34.1%)
CIE-LABlab(65.51, -22.27, 56.91)
CIE-LCHlch(65.51, 61.12, 111.37°)
OKLaboklab(69.51% -0.0665 0.1267)
OKLCHoklch(69.51% 0.143 117.7)
XYZxyz(27.0940, 34.6948, 7.9582)
Luminance0.3469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A82F #412FA8
analogous
#A87E2F #96A82F #59A82F
triadic
#96A82F #2F96A8 #A82F96
tetradic
#96A82F #2FA87E #412FA8 #A82F59
square
#96A82F #2FA87E #412FA8 #A82F59
split-complementary
#96A82F #2F59A8 #7E2FA8
monochromatic
#414814 #6B7822 #96A82F #B8CC48 #CBD978

Accessibility & contrast

On white

2.65
#96A82F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#96A82F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A82F
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A82F#FFFFFF#000000##000000
##96A82F1.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F19
Deuteranopia (green-blind)
#B2A039
Tritanopia (blue-blind)
#9F9F90
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #96a82f;
/* rgb */ color: rgb(150, 168, 47);
/* oklch */ color: oklch(69.5% 0.143 117.7);
Tailwind
colors: {
  custom: {
    50: '#b8c170',
    500: '#96a82f',
    950: '#000000',
  },
}
SCSS
$custom: #96a82f;
$custom-light: #b8c170;
$custom-dark: #000000;
JSON
{
  "hex": "#96a82f",
  "rgb": {
    "r": 150,
    "g": 168,
    "b": 47
  },
  "hsl": {
    "h": 68.926,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69505,
    "c": 0.14312,
    "h": 117.7
  },
  "luminance": 0.34695
}

Semantic roles & 50–950 ramp

primary
#96A82F
secondary
#7D71C1
accent
#48E05F
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #96A82F

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

Preview Lab → · Contrast checker → · Palette generator →

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