#96901F#96901F

#96901F is a light, vivid yellow. Relative luminance 0.265; OKLCH L 63.9% C 0.127 H 106.3°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#96901F
RGBrgb(150, 144, 31)
HSLhsl(57, 66%, 35%)
HSVhsv(57, 79%, 59%)
CMYKcmyk(0%, 4%, 79.3%, 41.2%)
CIE-LABlab(58.54, -10.61, 55.88)
CIE-LCHlch(58.54, 56.87, 100.75°)
OKLaboklab(63.89% -0.0355 0.1216)
OKLCHoklch(63.89% 0.127 106.3)
XYZxyz(22.7992, 26.5303, 5.2160)
Luminance0.2653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96901F #1F2596
analogous
#96541F #96901F #60961F
triadic
#96901F #1F9690 #901F96
tetradic
#96901F #1F9654 #1F2596 #961F60
square
#96901F #1F9654 #1F2596 #961F60
split-complementary
#96901F #1F6096 #541F96
monochromatic
#312F0A #635F15 #96901F #C9C129 #DCD554

Accessibility & contrast

On white

3.33
#96901F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#96901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96901F
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96901F#FFFFFF#000000##000000
##96901F1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#9F8F28
Tritanopia (blue-blind)
#A2867B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #96901f;
/* rgb */ color: rgb(150, 144, 31);
/* oklch */ color: oklch(63.9% 0.127 106.3);
Tailwind
colors: {
  custom: {
    50: '#b9b065',
    500: '#96901f',
    950: '#000000',
  },
}
SCSS
$custom: #96901f;
$custom-light: #b9b065;
$custom-dark: #000000;
JSON
{
  "hex": "#96901f",
  "rgb": {
    "r": 150,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 56.975,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63893,
    "c": 0.12667,
    "h": 106.3
  },
  "luminance": 0.26529
}

Semantic roles & 50–950 ramp

primary
#96901F
secondary
#5257BF
accent
#48E93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #96901F

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

Preview Lab → · Contrast checker → · Palette generator →

#96901F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva