#8A961C#8A961C

#8A961C 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#8A961C
RGBrgb(138, 150, 28)
HSLhsl(66, 69%, 35%)
HSVhsv(66, 81%, 59%)
CMYKcmyk(8%, 0%, 81.3%, 41.2%)
CIE-LABlab(59.25, -19.25, 57.04)
CIE-LCHlch(59.25, 60.20, 108.64°)
OKLaboklab(64.21% -0.0591 0.124)
OKLCHoklch(64.21% 0.137 115.5)
XYZxyz(21.5978, 27.3002, 5.2301)
Luminance0.2730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A961C #281C96
analogous
#96651C #8A961C #4D961C
triadic
#8A961C #1C8A96 #961C8A
tetradic
#8A961C #1C9665 #281C96 #961C4D
square
#8A961C #1C9665 #281C96 #961C4D
split-complementary
#8A961C #1C4D96 #651C96
monochromatic
#2B2F09 #5B6212 #8A961C #B9CA26 #D0DE4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8a961c;
/* rgb */ color: rgb(138, 150, 28);
/* oklch */ color: oklch(64.2% 0.137 115.5);
Tailwind
colors: {
  custom: {
    50: '#b0b465',
    500: '#8a961c',
    950: '#000000',
  },
}
SCSS
$custom: #8a961c;
$custom-light: #b0b465;
$custom-dark: #000000;
JSON
{
  "hex": "#8a961c",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 28
  },
  "hsl": {
    "h": 65.902,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.64214,
    "c": 0.13739,
    "h": 115.5
  },
  "luminance": 0.273
}

Semantic roles & 50–950 ramp

primary
#8A961C
secondary
#594DC1
accent
#3CEB4E
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A961C

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

Preview Lab → · Contrast checker → · Palette generator →

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