#8A962A#8A962A

#8A962A is a light, vivid yellow. Relative luminance 0.274; OKLCH L 64.3% C 0.130 H 115.7°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8A962A
RGBrgb(138, 150, 42)
HSLhsl(67, 56%, 38%)
HSVhsv(67, 72%, 59%)
CMYKcmyk(8%, 0%, 72%, 41.2%)
CIE-LABlab(59.33, -18.60, 52.41)
CIE-LCHlch(59.33, 55.61, 109.54°)
OKLaboklab(64.3% -0.0561 0.1167)
OKLCHoklch(64.3% 0.13 115.7)
XYZxyz(21.8061, 27.3835, 6.3269)
Luminance0.2738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A962A #362A96
analogous
#966C2A #8A962A #54962A
triadic
#8A962A #2A8A96 #962A8A
tetradic
#8A962A #2A966C #362A96 #962A54
square
#8A962A #2A966C #362A96 #962A54
split-complementary
#8A962A #2A5496 #6C2A96
monochromatic
#32360F #5E661D #8A962A #B6C637 #C8D466

Accessibility & contrast

On white

3.24
#8A962A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#8A962A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A962A
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A962A#FFFFFF#000000##000000
##8A962A1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E17
Deuteranopia (green-blind)
#A09033
Tritanopia (blue-blind)
#938D81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a962a;
/* rgb */ color: rgb(138, 150, 42);
/* oklch */ color: oklch(64.3% 0.130 115.7);
Tailwind
colors: {
  custom: {
    50: '#afb46b',
    500: '#8a962a',
    950: '#000000',
  },
}
SCSS
$custom: #8a962a;
$custom-light: #afb46b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a962a",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 42
  },
  "hsl": {
    "h": 66.667,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.643,
    "c": 0.12952,
    "h": 115.7
  },
  "luminance": 0.27383
}

Semantic roles & 50–950 ramp

primary
#8A962A
secondary
#6B61BA
accent
#48E059
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A962A

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

Preview Lab → · Contrast checker → · Palette generator →

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