#96A42B#96A42B

#96A42B is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.5% C 0.141 H 116.0°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#96A42B
RGBrgb(150, 164, 43)
HSLhsl(67, 58%, 41%)
HSVhsv(67, 74%, 64%)
CMYKcmyk(8.5%, 0%, 73.8%, 35.7%)
CIE-LABlab(64.33, -20.48, 57.21)
CIE-LCHlch(64.33, 60.77, 109.69°)
OKLaboklab(68.55% -0.0619 0.1267)
OKLCHoklch(68.55% 0.141 116)
XYZxyz(26.2899, 33.2098, 7.3102)
Luminance0.3321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A42B #392BA4
analogous
#A4752B #96A42B #59A42B
triadic
#96A42B #2B96A4 #A42B96
tetradic
#96A42B #2BA475 #392BA4 #A42B59
square
#96A42B #2BA475 #392BA4 #A42B59
split-complementary
#96A42B #2B59A4 #752BA4
monochromatic
#3D4312 #6A741E #96A42B #BCCD3F #CDD970

Accessibility & contrast

On white

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

On black

7.64
#96A42B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A42B
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A42B#FFFFFF#000000##000000
##96A42B1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B13
Deuteranopia (green-blind)
#AF9D35
Tritanopia (blue-blind)
#A09A8D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #96a42b;
/* rgb */ color: rgb(150, 164, 43);
/* oklch */ color: oklch(68.5% 0.141 116.0);
Tailwind
colors: {
  custom: {
    50: '#b8be6d',
    500: '#96a42b',
    950: '#000000',
  },
}
SCSS
$custom: #96a42b;
$custom-light: #b8be6d;
$custom-dark: #000000;
JSON
{
  "hex": "#96a42b",
  "rgb": {
    "r": 150,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 66.942,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.68549,
    "c": 0.14098,
    "h": 116
  },
  "luminance": 0.33209
}

Semantic roles & 50–950 ramp

primary
#96A42B
secondary
#746AC1
accent
#46E258
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #96A42B

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

Preview Lab → · Contrast checker → · Palette generator →

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