#8A962B#8A962B

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

Color values

HEX#8A962B
RGBrgb(138, 150, 43)
HSLhsl(67, 55%, 38%)
HSVhsv(67, 71%, 59%)
CMYKcmyk(8%, 0%, 71.3%, 41.2%)
CIE-LABlab(59.33, -18.54, 52.03)
CIE-LCHlch(59.33, 55.24, 109.61°)
OKLaboklab(64.31% -0.0558 0.1161)
OKLCHoklch(64.31% 0.129 115.7)
XYZxyz(21.8242, 27.3907, 6.4223)
Luminance0.2739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A962B #372B96
analogous
#966C2B #8A962B #54962B
triadic
#8A962B #2B8A96 #962B8A
tetradic
#8A962B #2B966C #372B96 #962B54
square
#8A962B #2B966C #372B96 #962B54
split-complementary
#8A962B #2B5496 #6C2B96
monochromatic
#323710 #5E661D #8A962B #B6C639 #C8D468

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A962B#FFFFFF#000000##000000
##8A962B1.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)
#A18E19
Deuteranopia (green-blind)
#A09033
Tritanopia (blue-blind)
#938D81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a962b;
/* rgb */ color: rgb(138, 150, 43);
/* oklch */ color: oklch(64.3% 0.129 115.7);
Tailwind
colors: {
  custom: {
    50: '#afb46c',
    500: '#8a962b',
    950: '#000000',
  },
}
SCSS
$custom: #8a962b;
$custom-light: #afb46c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a962b",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 43
  },
  "hsl": {
    "h": 66.729,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.64307,
    "c": 0.12885,
    "h": 115.7
  },
  "luminance": 0.2739
}

Semantic roles & 50–950 ramp

primary
#8A962B
secondary
#6D63BA
accent
#49DF5A
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A962B

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

Preview Lab → · Contrast checker → · Palette generator →

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