#8A9C2A#8A9C2A

#8A9C2A is a light, vivid yellow. Relative luminance 0.293; OKLCH L 65.7% C 0.137 H 118.2°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8A9C2A
RGBrgb(138, 156, 42)
HSLhsl(69, 58%, 39%)
HSVhsv(69, 73%, 61%)
CMYKcmyk(11.5%, 0%, 73.1%, 38.8%)
CIE-LABlab(61.09, -21.65, 54.13)
CIE-LCHlch(61.09, 58.30, 111.80°)
OKLaboklab(65.71% -0.0646 0.1204)
OKLCHoklch(65.71% 0.137 118.2)
XYZxyz(22.7881, 29.3476, 6.6542)
Luminance0.2935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9C2A #3C2A9C
analogous
#9C752A #8A9C2A #519C2A
triadic
#8A9C2A #2A8A9C #9C2A8A
tetradic
#8A9C2A #2A9C75 #3C2A9C #9C2A51
square
#8A9C2A #2A9C75 #3C2A9C #9C2A51
split-complementary
#8A9C2A #2A519C #752A9C
monochromatic
#353C10 #5F6C1D #8A9C2A #B3CA39 #C6D76A

Accessibility & contrast

On white

3.06
#8A9C2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#8A9C2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9C2A
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9C2A#FFFFFF#000000##000000
##8A9C2A1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79315
Deuteranopia (green-blind)
#A59433
Tritanopia (blue-blind)
#929386
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a9c2a;
/* rgb */ color: rgb(138, 156, 42);
/* oklch */ color: oklch(65.7% 0.137 118.2);
Tailwind
colors: {
  custom: {
    50: '#afb96c',
    500: '#8a9c2a',
    950: '#000000',
  },
}
SCSS
$custom: #8a9c2a;
$custom-light: #afb96c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9c2a",
  "rgb": {
    "r": 138,
    "g": 156,
    "b": 42
  },
  "hsl": {
    "h": 69.474,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65713,
    "c": 0.13659,
    "h": 118.2
  },
  "luminance": 0.29347
}

Semantic roles & 50–950 ramp

primary
#8A9C2A
secondary
#7365BD
accent
#47E15F
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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