#96A123#96A123

#96A123 is a light, vivid yellow. Relative luminance 0.321; OKLCH L 67.8% C 0.142 H 114.7°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#96A123
RGBrgb(150, 161, 35)
HSLhsl(65, 64%, 38%)
HSVhsv(65, 78%, 63%)
CMYKcmyk(6.8%, 0%, 78.3%, 36.9%)
CIE-LABlab(63.42, -19.32, 59.03)
CIE-LCHlch(63.42, 62.11, 108.12°)
OKLaboklab(67.81% -0.0594 0.1291)
OKLCHoklch(67.81% 0.142 114.7)
XYZxyz(25.6267, 32.0956, 6.4349)
Luminance0.3210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A123 #2E23A1
analogous
#A16D23 #96A123 #57A123
triadic
#96A123 #2396A1 #A12396
tetradic
#96A123 #23A16D #2E23A1 #A12357
square
#96A123 #23A16D #2E23A1 #A12357
split-complementary
#96A123 #2357A1 #6D23A1
monochromatic
#383C0D #676F18 #96A123 #C4D22F #D2DD62

Accessibility & contrast

On white

2.83
#96A123 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#96A123 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A123
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A123#FFFFFF#000000##000000
##96A1231.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9900
Deuteranopia (green-blind)
#AC9B2F
Tritanopia (blue-blind)
#A0978A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #96a123;
/* rgb */ color: rgb(150, 161, 35);
/* oklch */ color: oklch(67.8% 0.142 114.7);
Tailwind
colors: {
  custom: {
    50: '#b8bc69',
    500: '#96a123',
    950: '#000000',
  },
}
SCSS
$custom: #96a123;
$custom-light: #b8bc69;
$custom-dark: #000000;
JSON
{
  "hex": "#96a123",
  "rgb": {
    "r": 150,
    "g": 161,
    "b": 35
  },
  "hsl": {
    "h": 65.238,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.67806,
    "c": 0.14209,
    "h": 114.7
  },
  "luminance": 0.32095
}

Semantic roles & 50–950 ramp

primary
#96A123
secondary
#675EC2
accent
#41E74F
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #96A123

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

Preview Lab → · Contrast checker → · Palette generator →

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