#8A962C#8A962C

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

Color values

HEX#8A962C
RGBrgb(138, 150, 44)
HSLhsl(67, 55%, 38%)
HSVhsv(67, 71%, 59%)
CMYKcmyk(8%, 0%, 70.7%, 41.2%)
CIE-LABlab(59.34, -18.48, 51.65)
CIE-LCHlch(59.34, 54.86, 109.69°)
OKLaboklab(64.32% -0.0556 0.1155)
OKLCHoklch(64.32% 0.128 115.7)
XYZxyz(21.8427, 27.3981, 6.5201)
Luminance0.2740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A962C #382C96
analogous
#966D2C #8A962C #55962C
triadic
#8A962C #2C8A96 #962C8A
tetradic
#8A962C #2C966D #382C96 #962C55
square
#8A962C #2C966D #382C96 #962C55
split-complementary
#8A962C #2C5596 #6D2C96
monochromatic
#333710 #5E671E #8A962C #B5C53A #C7D369

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A962C#FFFFFF#000000##000000
##8A962C1.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)
#A18E1B
Deuteranopia (green-blind)
#A09034
Tritanopia (blue-blind)
#938D81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a962c;
/* rgb */ color: rgb(138, 150, 44);
/* oklch */ color: oklch(64.3% 0.128 115.7);
Tailwind
colors: {
  custom: {
    50: '#afb46c',
    500: '#8a962c',
    950: '#000000',
  },
}
SCSS
$custom: #8a962c;
$custom-light: #afb46c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a962c",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 44
  },
  "hsl": {
    "h": 66.792,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.64315,
    "c": 0.12817,
    "h": 115.7
  },
  "luminance": 0.27398
}

Semantic roles & 50–950 ramp

primary
#8A962C
secondary
#6E64BA
accent
#4ADE5B
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A962C

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

Preview Lab → · Contrast checker → · Palette generator →

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