#96A238#96A238

#96A238 is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.2% C 0.130 H 115.4°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#96A238
RGBrgb(150, 162, 56)
HSLhsl(67, 49%, 43%)
HSVhsv(67, 65%, 64%)
CMYKcmyk(7.4%, 0%, 65.4%, 36.5%)
CIE-LABlab(63.84, -18.70, 51.67)
CIE-LCHlch(63.84, 54.95, 109.90°)
OKLaboklab(68.19% -0.0557 0.1171)
OKLCHoklch(68.19% 0.13 115.4)
XYZxyz(26.2124, 32.6106, 8.6542)
Luminance0.3261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A238 #4438A2
analogous
#A27938 #96A238 #61A238
triadic
#96A238 #3896A2 #A23896
tetradic
#96A238 #38A279 #4438A2 #A23861
square
#96A238 #38A279 #4438A2 #A23861
split-complementary
#96A238 #3861A2 #7938A2
monochromatic
#424719 #6C7528 #96A238 #B7C453 #CAD381

Accessibility & contrast

On white

2.79
#96A238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#96A238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A238
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A238#FFFFFF#000000##000000
##96A2381.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A2A
Deuteranopia (green-blind)
#AC9C3F
Tritanopia (blue-blind)
#9F998C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #96a238;
/* rgb */ color: rgb(150, 162, 56);
/* oklch */ color: oklch(68.2% 0.130 115.4);
Tailwind
colors: {
  custom: {
    50: '#b8bd74',
    500: '#96a238',
    950: '#000000',
  },
}
SCSS
$custom: #96a238;
$custom-light: #b8bd74;
$custom-dark: #000000;
JSON
{
  "hex": "#96a238",
  "rgb": {
    "r": 150,
    "g": 162,
    "b": 56
  },
  "hsl": {
    "h": 66.792,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.68188,
    "c": 0.1297,
    "h": 115.4
  },
  "luminance": 0.3261
}

Semantic roles & 50–950 ramp

primary
#96A238
secondary
#8179BD
accent
#50D85F
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #96A238

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

Preview Lab → · Contrast checker → · Palette generator →

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