#8A962D#8A962D

#8A962D 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#8A962D
RGBrgb(138, 150, 45)
HSLhsl(67, 54%, 38%)
HSVhsv(67, 70%, 59%)
CMYKcmyk(8%, 0%, 70%, 41.2%)
CIE-LABlab(59.35, -18.43, 51.27)
CIE-LCHlch(59.35, 54.48, 109.77°)
OKLaboklab(64.32% -0.0553 0.1148)
OKLCHoklch(64.32% 0.127 115.7)
XYZxyz(21.8618, 27.4058, 6.6203)
Luminance0.2741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A962D #392D96
analogous
#966D2D #8A962D #55962D
triadic
#8A962D #2D8A96 #962D8A
tetradic
#8A962D #2D966D #392D96 #962D55
square
#8A962D #2D966D #392D96 #962D55
split-complementary
#8A962D #2D5596 #6D2D96
monochromatic
#333811 #5F671F #8A962D #B5C43C #C7D36B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A962D#FFFFFF#000000##000000
##8A962D1.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)
#A18E1C
Deuteranopia (green-blind)
#A09035
Tritanopia (blue-blind)
#938D81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a962d;
/* rgb */ color: rgb(138, 150, 45);
/* oklch */ color: oklch(64.3% 0.127 115.7);
Tailwind
colors: {
  custom: {
    50: '#afb46d',
    500: '#8a962d',
    950: '#000000',
  },
}
SCSS
$custom: #8a962d;
$custom-light: #afb46d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a962d",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 45
  },
  "hsl": {
    "h": 66.857,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.64323,
    "c": 0.12747,
    "h": 115.7
  },
  "luminance": 0.27405
}

Semantic roles & 50–950 ramp

primary
#8A962D
secondary
#6F65B9
accent
#4BDD5B
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A962D

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

Preview Lab → · Contrast checker → · Palette generator →

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