#96A623#96A623

#96A623 is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.0% C 0.148 H 116.7°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#96A623
RGBrgb(150, 166, 35)
HSLhsl(67, 65%, 39%)
HSVhsv(67, 79%, 65%)
CMYKcmyk(9.6%, 0%, 78.9%, 34.9%)
CIE-LABlab(64.87, -21.84, 60.34)
CIE-LCHlch(64.87, 64.17, 109.90°)
OKLaboklab(68.97% -0.0664 0.1319)
OKLCHoklch(68.97% 0.148 116.7)
XYZxyz(26.5180, 33.8782, 6.7320)
Luminance0.3388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A623 #3323A6
analogous
#A67523 #96A623 #55A623
triadic
#96A623 #2396A6 #A62396
tetradic
#96A623 #23A675 #3323A6 #A62355
square
#96A623 #23A675 #3323A6 #A62355
split-complementary
#96A623 #2355A6 #7523A6
monochromatic
#3B410E #687318 #96A623 #C0D432 #D0DF65

Accessibility & contrast

On white

2.70
#96A623 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#96A623 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A623
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A623#FFFFFF#000000##000000
##96A6231.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B09E30
Tritanopia (blue-blind)
#A09C8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #96a623;
/* rgb */ color: rgb(150, 166, 35);
/* oklch */ color: oklch(69.0% 0.148 116.7);
Tailwind
colors: {
  custom: {
    50: '#b8c06a',
    500: '#96a623',
    950: '#000000',
  },
}
SCSS
$custom: #96a623;
$custom-light: #b8c06a;
$custom-dark: #000000;
JSON
{
  "hex": "#96a623",
  "rgb": {
    "r": 150,
    "g": 166,
    "b": 35
  },
  "hsl": {
    "h": 67.328,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.68966,
    "c": 0.14762,
    "h": 116.7
  },
  "luminance": 0.33878
}

Semantic roles & 50–950 ramp

primary
#96A623
secondary
#6D61C4
accent
#40E854
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96A623

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

Preview Lab → · Contrast checker → · Palette generator →

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