#8A962F#8A962F

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

Color values

HEX#8A962F
RGBrgb(138, 150, 47)
HSLhsl(67, 52%, 39%)
HSVhsv(67, 69%, 59%)
CMYKcmyk(8%, 0%, 68.7%, 41.2%)
CIE-LABlab(59.36, -18.30, 50.48)
CIE-LCHlch(59.36, 53.69, 109.93°)
OKLaboklab(64.34% -0.0548 0.1135)
OKLCHoklch(64.34% 0.126 115.8)
XYZxyz(21.9012, 27.4215, 6.8279)
Luminance0.2742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A962F #3B2F96
analogous
#966E2F #8A962F #56962F
triadic
#8A962F #2F8A96 #962F8A
tetradic
#8A962F #2F966E #3B2F96 #962F56
square
#8A962F #2F966E #3B2F96 #962F56
split-complementary
#8A962F #2F5696 #6E2F96
monochromatic
#343912 #5F6720 #8A962F #B4C33F #C6D26E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A962F#FFFFFF#000000##000000
##8A962F1.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)
#A08E20
Deuteranopia (green-blind)
#A09037
Tritanopia (blue-blind)
#938D81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a962f;
/* rgb */ color: rgb(138, 150, 47);
/* oklch */ color: oklch(64.3% 0.126 115.8);
Tailwind
colors: {
  custom: {
    50: '#afb46e',
    500: '#8a962f',
    950: '#000000',
  },
}
SCSS
$custom: #8a962f;
$custom-light: #afb46e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a962f",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 47
  },
  "hsl": {
    "h": 66.99,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64339,
    "c": 0.12604,
    "h": 115.8
  },
  "luminance": 0.27421
}

Semantic roles & 50–950 ramp

primary
#8A962F
secondary
#7168B9
accent
#4CDC5D
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A962F

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

Preview Lab → · Contrast checker → · Palette generator →

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