#8A961F#8A961F

#8A961F 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#8A961F
RGBrgb(138, 150, 31)
HSLhsl(66, 66%, 35%)
HSVhsv(66, 79%, 59%)
CMYKcmyk(8%, 0%, 79.3%, 41.2%)
CIE-LABlab(59.27, -19.13, 56.16)
CIE-LCHlch(59.27, 59.32, 108.81°)
OKLaboklab(64.23% -0.0585 0.1227)
OKLCHoklch(64.23% 0.136 115.5)
XYZxyz(21.6355, 27.3153, 5.4287)
Luminance0.2732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A961F #2B1F96
analogous
#96661F #8A961F #4F961F
triadic
#8A961F #1F8A96 #961F8A
tetradic
#8A961F #1F9666 #2B1F96 #961F4F
square
#8A961F #1F9666 #2B1F96 #961F4F
split-complementary
#8A961F #1F4F96 #661F96
monochromatic
#2D310A #5B6315 #8A961F #B9C929 #CEDC54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A961F#FFFFFF#000000##000000
##8A961F1.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: #8a961f;
/* rgb */ color: rgb(138, 150, 31);
/* oklch */ color: oklch(64.2% 0.136 115.5);
Tailwind
colors: {
  custom: {
    50: '#b0b466',
    500: '#8a961f',
    950: '#000000',
  },
}
SCSS
$custom: #8a961f;
$custom-light: #b0b466;
$custom-dark: #000000;
JSON
{
  "hex": "#8a961f",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 31
  },
  "hsl": {
    "h": 66.05,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.64229,
    "c": 0.13593,
    "h": 115.5
  },
  "luminance": 0.27315
}

Semantic roles & 50–950 ramp

primary
#8A961F
secondary
#5D52BF
accent
#3FE950
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A961F

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

Preview Lab → · Contrast checker → · Palette generator →

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