#96A01F#96A01F

#96A01F is a light, vivid yellow. Relative luminance 0.317; OKLCH L 67.6% C 0.143 H 114.3°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#96A01F
RGBrgb(150, 160, 31)
HSLhsl(65, 68%, 37%)
HSVhsv(65, 81%, 63%)
CMYKcmyk(6.2%, 0%, 80.6%, 37.3%)
CIE-LABlab(63.12, -18.97, 59.95)
CIE-LCHlch(63.12, 62.88, 107.56°)
OKLaboklab(67.55% -0.0587 0.1303)
OKLCHoklch(67.55% 0.143 114.3)
XYZxyz(25.3966, 31.7251, 6.0818)
Luminance0.3172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A01F #291FA0
analogous
#A0691F #96A01F #56A01F
triadic
#96A01F #1F96A0 #A01F96
tetradic
#96A01F #1FA069 #291FA0 #A01F56
square
#96A01F #1FA069 #291FA0 #A01F56
split-complementary
#96A01F #1F56A0 #691FA0
monochromatic
#36390B #666D15 #96A01F #C6D329 #D5DF5A

Accessibility & contrast

On white

2.86
#96A01F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#96A01F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A01F
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A01F#FFFFFF#000000##000000
##96A01F1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#AC9A2C
Tritanopia (blue-blind)
#A09689
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #96a01f;
/* rgb */ color: rgb(150, 160, 31);
/* oklch */ color: oklch(67.6% 0.143 114.3);
Tailwind
colors: {
  custom: {
    50: '#b9bb67',
    500: '#96a01f',
    950: '#000000',
  },
}
SCSS
$custom: #96a01f;
$custom-light: #b9bb67;
$custom-dark: #000000;
JSON
{
  "hex": "#96a01f",
  "rgb": {
    "r": 150,
    "g": 160,
    "b": 31
  },
  "hsl": {
    "h": 64.651,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.67554,
    "c": 0.14295,
    "h": 114.3
  },
  "luminance": 0.31725
}

Semantic roles & 50–950 ramp

primary
#96A01F
secondary
#6058C3
accent
#3DEA4B
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #96A01F

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

Preview Lab → · Contrast checker → · Palette generator →

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