#8A941A#8A941A

#8A941A is a light, vivid yellow. Relative luminance 0.267; OKLCH L 63.7% C 0.136 H 114.6°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8A941A
RGBrgb(138, 148, 26)
HSLhsl(65, 70%, 34%)
HSVhsv(65, 82%, 58%)
CMYKcmyk(6.8%, 0%, 82.4%, 42%)
CIE-LABlab(58.66, -18.29, 57.08)
CIE-LCHlch(58.66, 59.94, 107.77°)
OKLaboklab(63.73% -0.0566 0.1238)
OKLCHoklch(63.73% 0.136 114.6)
XYZxyz(21.2583, 26.6581, 5.0028)
Luminance0.2666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A941A #241A94
analogous
#94611A #8A941A #4D941A
triadic
#8A941A #1A8A94 #941A8A
tetradic
#8A941A #1A9461 #241A94 #941A4D
square
#8A941A #1A9461 #241A94 #941A4D
split-complementary
#8A941A #1A4D94 #611A94
monochromatic
#292C08 #596011 #8A941A #BBC823 #D3DF49

Accessibility & contrast

On white

3.32
#8A941A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#8A941A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A941A
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A941A#FFFFFF#000000##000000
##8A941A1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#9F8E26
Tritanopia (blue-blind)
#948B7E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a941a;
/* rgb */ color: rgb(138, 148, 26);
/* oklch */ color: oklch(63.7% 0.136 114.6);
Tailwind
colors: {
  custom: {
    50: '#b0b364',
    500: '#8a941a',
    950: '#000000',
  },
}
SCSS
$custom: #8a941a;
$custom-light: #b0b364;
$custom-dark: #000000;
JSON
{
  "hex": "#8a941a",
  "rgb": {
    "r": 138,
    "g": 148,
    "b": 26
  },
  "hsl": {
    "h": 64.918,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.63734,
    "c": 0.13609,
    "h": 114.6
  },
  "luminance": 0.26658
}

Semantic roles & 50–950 ramp

primary
#8A941A
secondary
#5349C1
accent
#3BED49
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A941A

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

Preview Lab → · Contrast checker → · Palette generator →

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