#8A961E#8A961E

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

Color values

HEX#8A961E
RGBrgb(138, 150, 30)
HSLhsl(66, 67%, 35%)
HSVhsv(66, 80%, 59%)
CMYKcmyk(8%, 0%, 80%, 41.2%)
CIE-LABlab(59.26, -19.17, 56.46)
CIE-LCHlch(59.26, 59.62, 108.75°)
OKLaboklab(64.22% -0.0587 0.1231)
OKLCHoklch(64.22% 0.136 115.5)
XYZxyz(21.6225, 27.3101, 5.3604)
Luminance0.2731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A961E #2A1E96
analogous
#96661E #8A961E #4E961E
triadic
#8A961E #1E8A96 #961E8A
tetradic
#8A961E #1E9666 #2A1E96 #961E4E
square
#8A961E #1E9666 #2A1E96 #961E4E
split-complementary
#8A961E #1E4E96 #661E96
monochromatic
#2C300A #5B6314 #8A961E #B9C928 #CFDC52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A961E#FFFFFF#000000##000000
##8A961E1.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)
#A0902A
Tritanopia (blue-blind)
#938D80
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a961e;
/* rgb */ color: rgb(138, 150, 30);
/* oklch */ color: oklch(64.2% 0.136 115.5);
Tailwind
colors: {
  custom: {
    50: '#b0b465',
    500: '#8a961e',
    950: '#000000',
  },
}
SCSS
$custom: #8a961e;
$custom-light: #b0b465;
$custom-dark: #000000;
JSON
{
  "hex": "#8a961e",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 30
  },
  "hsl": {
    "h": 66,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.64224,
    "c": 0.13643,
    "h": 115.5
  },
  "luminance": 0.2731
}

Semantic roles & 50–950 ramp

primary
#8A961E
secondary
#5B50BF
accent
#3EEA4F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A961E

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

Preview Lab → · Contrast checker → · Palette generator →

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