#96A138#96A138

#96A138 is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.0% C 0.129 H 115.0°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#96A138
RGBrgb(150, 161, 56)
HSLhsl(66, 48%, 43%)
HSVhsv(66, 65%, 63%)
CMYKcmyk(6.8%, 0%, 65.2%, 36.9%)
CIE-LABlab(63.56, -18.19, 51.37)
CIE-LCHlch(63.56, 54.50, 109.50°)
OKLaboklab(67.96% -0.0543 0.1165)
OKLCHoklch(67.96% 0.129 115)
XYZxyz(26.0370, 32.2597, 8.5958)
Luminance0.3226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A138 #4338A1
analogous
#A17838 #96A138 #61A138
triadic
#96A138 #3896A1 #A13896
tetradic
#96A138 #38A178 #4338A1 #A13861
square
#96A138 #38A178 #4338A1 #A13861
split-complementary
#96A138 #3861A1 #7838A1
monochromatic
#414618 #6C7428 #96A138 #B7C353 #CAD380

Accessibility & contrast

On white

2.82
#96A138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#96A138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A138
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A138#FFFFFF#000000##000000
##96A1381.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC992A
Deuteranopia (green-blind)
#AB9B3F
Tritanopia (blue-blind)
#9F988B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #96a138;
/* rgb */ color: rgb(150, 161, 56);
/* oklch */ color: oklch(68.0% 0.129 115.0);
Tailwind
colors: {
  custom: {
    50: '#b7bc74',
    500: '#96a138',
    950: '#000000',
  },
}
SCSS
$custom: #96a138;
$custom-light: #b7bc74;
$custom-dark: #000000;
JSON
{
  "hex": "#96a138",
  "rgb": {
    "r": 150,
    "g": 161,
    "b": 56
  },
  "hsl": {
    "h": 66.286,
    "s": 48.387,
    "l": 42.549
  },
  "oklch": {
    "l": 0.67957,
    "c": 0.12852,
    "h": 115
  },
  "luminance": 0.32259
}

Semantic roles & 50–950 ramp

primary
#96A138
secondary
#7F78BC
accent
#50D85E
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #96A138

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

Preview Lab → · Contrast checker → · Palette generator →

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