#96A42F#96A42F

#96A42F is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.6% C 0.138 H 116.1°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#96A42F
RGBrgb(150, 164, 47)
HSLhsl(67, 55%, 41%)
HSVhsv(67, 71%, 64%)
CMYKcmyk(8.5%, 0%, 71.3%, 35.7%)
CIE-LABlab(64.36, -20.26, 55.78)
CIE-LCHlch(64.36, 59.35, 109.97°)
OKLaboklab(68.58% -0.0609 0.1243)
OKLCHoklch(68.58% 0.138 116.1)
XYZxyz(26.3669, 33.2406, 7.7159)
Luminance0.3324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A42F #3D2FA4
analogous
#A4782F #96A42F #5CA42F
triadic
#96A42F #2F96A4 #A42F96
tetradic
#96A42F #2FA478 #3D2FA4 #A42F5C
square
#96A42F #2FA478 #3D2FA4 #A42F5C
split-complementary
#96A42F #2F5CA4 #782FA4
monochromatic
#3F4514 #6A7421 #96A42F #BACA46 #CCD876

Accessibility & contrast

On white

2.75
#96A42F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#96A42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A42F
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A42F#FFFFFF#000000##000000
##96A42F1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1B
Deuteranopia (green-blind)
#AE9D38
Tritanopia (blue-blind)
#A09B8D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #96a42f;
/* rgb */ color: rgb(150, 164, 47);
/* oklch */ color: oklch(68.6% 0.138 116.1);
Tailwind
colors: {
  custom: {
    50: '#b8be6f',
    500: '#96a42f',
    950: '#000000',
  },
}
SCSS
$custom: #96a42f;
$custom-light: #b8be6f;
$custom-dark: #000000;
JSON
{
  "hex": "#96a42f",
  "rgb": {
    "r": 150,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 67.179,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68577,
    "c": 0.13847,
    "h": 116.1
  },
  "luminance": 0.3324
}

Semantic roles & 50–950 ramp

primary
#96A42F
secondary
#796FC0
accent
#49DF5B
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #96A42F

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

Preview Lab → · Contrast checker → · Palette generator →

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