#96A82C#96A82C

#96A82C is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.5% C 0.145 H 117.6°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#96A82C
RGBrgb(150, 168, 44)
HSLhsl(69, 58%, 42%)
HSVhsv(69, 74%, 66%)
CMYKcmyk(10.7%, 0%, 73.8%, 34.1%)
CIE-LABlab(65.49, -22.43, 57.97)
CIE-LCHlch(65.49, 62.16, 111.15°)
OKLaboklab(69.48% -0.0672 0.1284)
OKLCHoklch(69.48% 0.145 117.6)
XYZxyz(27.0356, 34.6714, 7.6504)
Luminance0.3467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A82C #3E2CA8
analogous
#A87C2C #96A82C #58A82C
triadic
#96A82C #2C96A8 #A82C96
tetradic
#96A82C #2CA87C #3E2CA8 #A82C58
square
#96A82C #2CA87C #3E2CA8 #A82C58
split-complementary
#96A82C #2C58A8 #7C2CA8
monochromatic
#3F4713 #6B781F #96A82C #BACE43 #CCDB74

Accessibility & contrast

On white

2.65
#96A82C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#96A82C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A82C
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A82C#FFFFFF#000000##000000
##96A82C1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F13
Deuteranopia (green-blind)
#B2A037
Tritanopia (blue-blind)
#9F9E90
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #96a82c;
/* rgb */ color: rgb(150, 168, 44);
/* oklch */ color: oklch(69.5% 0.145 117.6);
Tailwind
colors: {
  custom: {
    50: '#b8c16e',
    500: '#96a82c',
    950: '#000000',
  },
}
SCSS
$custom: #96a82c;
$custom-light: #b8c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#96a82c",
  "rgb": {
    "r": 150,
    "g": 168,
    "b": 44
  },
  "hsl": {
    "h": 68.71,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69484,
    "c": 0.14497,
    "h": 117.6
  },
  "luminance": 0.34671
}

Semantic roles & 50–950 ramp

primary
#96A82C
secondary
#7A6EC2
accent
#46E25D
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #96A82C

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

Preview Lab → · Contrast checker → · Palette generator →

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