#96A338#96A338

#96A338 is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.4% C 0.131 H 115.9°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#96A338
RGBrgb(150, 163, 56)
HSLhsl(67, 49%, 43%)
HSVhsv(67, 66%, 64%)
CMYKcmyk(8%, 0%, 65.6%, 36.1%)
CIE-LABlab(64.13, -19.21, 51.97)
CIE-LCHlch(64.13, 55.41, 110.28°)
OKLaboklab(68.42% -0.0571 0.1178)
OKLCHoklch(68.42% 0.131 115.9)
XYZxyz(26.3893, 32.9643, 8.7132)
Luminance0.3296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A338 #4538A3
analogous
#A37A38 #96A338 #60A338
triadic
#96A338 #3896A3 #A33896
tetradic
#96A338 #38A37A #4538A3 #A33860
square
#96A338 #38A37A #4538A3 #A33860
split-complementary
#96A338 #3860A3 #7A38A3
monochromatic
#424819 #6C7528 #96A338 #B7C454 #CAD482

Accessibility & contrast

On white

2.77
#96A338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#96A338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A338
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A338#FFFFFF#000000##000000
##96A3381.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B2A
Deuteranopia (green-blind)
#AD9C3F
Tritanopia (blue-blind)
#9F9A8D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #96a338;
/* rgb */ color: rgb(150, 163, 56);
/* oklch */ color: oklch(68.4% 0.131 115.9);
Tailwind
colors: {
  custom: {
    50: '#b8be74',
    500: '#96a338',
    950: '#000000',
  },
}
SCSS
$custom: #96a338;
$custom-light: #b8be74;
$custom-dark: #000000;
JSON
{
  "hex": "#96a338",
  "rgb": {
    "r": 150,
    "g": 163,
    "b": 56
  },
  "hsl": {
    "h": 67.29,
    "s": 48.858,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68418,
    "c": 0.13089,
    "h": 115.9
  },
  "luminance": 0.32964
}

Semantic roles & 50–950 ramp

primary
#96A338
secondary
#8279BD
accent
#4FD860
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #96A338

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

Preview Lab → · Contrast checker → · Palette generator →

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