#8A962E#8A962E

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

Color values

HEX#8A962E
RGBrgb(138, 150, 46)
HSLhsl(67, 53%, 38%)
HSVhsv(67, 69%, 59%)
CMYKcmyk(8%, 0%, 69.3%, 41.2%)
CIE-LABlab(59.36, -18.36, 50.87)
CIE-LCHlch(59.36, 54.09, 109.85°)
OKLaboklab(64.33% -0.055 0.1142)
OKLCHoklch(64.33% 0.127 115.7)
XYZxyz(21.8813, 27.4135, 6.7229)
Luminance0.2741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A962E #3A2E96
analogous
#966E2E #8A962E #56962E
triadic
#8A962E #2E8A96 #962E8A
tetradic
#8A962E #2E966E #3A2E96 #962E56
square
#8A962E #2E966E #3A2E96 #962E56
split-complementary
#8A962E #2E5696 #6E2E96
monochromatic
#343811 #5F6720 #8A962E #B4C43E #C6D26C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A962E#FFFFFF#000000##000000
##8A962E1.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)
#A18E1E
Deuteranopia (green-blind)
#A09036
Tritanopia (blue-blind)
#938D81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a962e;
/* rgb */ color: rgb(138, 150, 46);
/* oklch */ color: oklch(64.3% 0.127 115.7);
Tailwind
colors: {
  custom: {
    50: '#afb46d',
    500: '#8a962e',
    950: '#000000',
  },
}
SCSS
$custom: #8a962e;
$custom-light: #afb46d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a962e",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 46
  },
  "hsl": {
    "h": 66.923,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.64331,
    "c": 0.12676,
    "h": 115.7
  },
  "luminance": 0.27413
}

Semantic roles & 50–950 ramp

primary
#8A962E
secondary
#7067B9
accent
#4BDC5C
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A962E

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

Preview Lab → · Contrast checker → · Palette generator →

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