#96A92B#96A92B

#96A92B is a light, vivid yellow. Relative luminance 0.350; OKLCH L 69.7% C 0.147 H 118.0°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#96A92B
RGBrgb(150, 169, 43)
HSLhsl(69, 59%, 42%)
HSVhsv(69, 75%, 66%)
CMYKcmyk(11.2%, 0%, 74.6%, 33.7%)
CIE-LABlab(65.78, -22.98, 58.59)
CIE-LCHlch(65.78, 62.94, 111.41°)
OKLaboklab(69.71% -0.0688 0.1296)
OKLCHoklch(69.71% 0.147 118)
XYZxyz(27.2023, 35.0346, 7.6144)
Luminance0.3503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A92B #3E2BA9
analogous
#A97D2B #96A92B #57A92B
triadic
#96A92B #2B96A9 #A92B96
tetradic
#96A92B #2BA97D #3E2BA9 #A92B57
square
#96A92B #2BA97D #3E2BA9 #A92B57
split-complementary
#96A92B #2B57A9 #7D2BA9
monochromatic
#3F4712 #6B781F #96A92B #BACF42 #CCDB73

Accessibility & contrast

On white

2.62
#96A92B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#96A92B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A92B
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A92B#FFFFFF#000000##000000
##96A92B1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A010
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#9F9F91
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #96a92b;
/* rgb */ color: rgb(150, 169, 43);
/* oklch */ color: oklch(69.7% 0.147 118.0);
Tailwind
colors: {
  custom: {
    50: '#b8c26e',
    500: '#96a92b',
    950: '#000000',
  },
}
SCSS
$custom: #96a92b;
$custom-light: #b8c26e;
$custom-dark: #000000;
JSON
{
  "hex": "#96a92b",
  "rgb": {
    "r": 150,
    "g": 169,
    "b": 43
  },
  "hsl": {
    "h": 69.048,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.6971,
    "c": 0.14672,
    "h": 118
  },
  "luminance": 0.35034
}

Semantic roles & 50–950 ramp

primary
#96A92B
secondary
#7A6DC3
accent
#45E35D
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #96A92B

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

Preview Lab → · Contrast checker → · Palette generator →

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