#8A961D#8A961D

#8A961D is a light, vivid yellow. Relative luminance 0.273; OKLCH L 64.2% C 0.137 H 115.5°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#8A961D
RGBrgb(138, 150, 29)
HSLhsl(66, 68%, 35%)
HSVhsv(66, 81%, 59%)
CMYKcmyk(8%, 0%, 80.7%, 41.2%)
CIE-LABlab(59.26, -19.21, 56.75)
CIE-LCHlch(59.26, 59.92, 108.70°)
OKLaboklab(64.22% -0.0589 0.1236)
OKLCHoklch(64.22% 0.137 115.5)
XYZxyz(21.6100, 27.3050, 5.2942)
Luminance0.2731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A961D #291D96
analogous
#96651D #8A961D #4E961D
triadic
#8A961D #1D8A96 #961D8A
tetradic
#8A961D #1D9665 #291D96 #961D4E
square
#8A961D #1D9665 #291D96 #961D4E
split-complementary
#8A961D #1D4E96 #651D96
monochromatic
#2C2F09 #5B6313 #8A961D #B9C927 #CFDD50

Accessibility & contrast

On white

3.25
#8A961D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#8A961D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A961D
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A961D#FFFFFF#000000##000000
##8A961D1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#A09029
Tritanopia (blue-blind)
#938D80
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a961d;
/* rgb */ color: rgb(138, 150, 29);
/* oklch */ color: oklch(64.2% 0.137 115.5);
Tailwind
colors: {
  custom: {
    50: '#b0b465',
    500: '#8a961d',
    950: '#000000',
  },
}
SCSS
$custom: #8a961d;
$custom-light: #b0b465;
$custom-dark: #000000;
JSON
{
  "hex": "#8a961d",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 29
  },
  "hsl": {
    "h": 65.95,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.64219,
    "c": 0.13692,
    "h": 115.5
  },
  "luminance": 0.27305
}

Semantic roles & 50–950 ramp

primary
#8A961D
secondary
#5A4FC0
accent
#3DEA4E
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A961D

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

Preview Lab → · Contrast checker → · Palette generator →

#8A961D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva