#8A9B2A#8A9B2A

#8A9B2A is a light, vivid yellow. Relative luminance 0.290; OKLCH L 65.5% C 0.135 H 117.8°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8A9B2A
RGBrgb(138, 155, 42)
HSLhsl(69, 57%, 39%)
HSVhsv(69, 73%, 61%)
CMYKcmyk(11%, 0%, 72.9%, 39.2%)
CIE-LABlab(60.79, -21.15, 53.84)
CIE-LCHlch(60.79, 57.85, 111.44°)
OKLaboklab(65.48% -0.0632 0.1198)
OKLCHoklch(65.48% 0.135 117.8)
XYZxyz(22.6210, 29.0134, 6.5985)
Luminance0.2901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9B2A #3B2A9B
analogous
#9B732A #8A9B2A #519B2A
triadic
#8A9B2A #2A8A9B #9B2A8A
tetradic
#8A9B2A #2A9B73 #3B2A9B #9B2A51
square
#8A9B2A #2A9B73 #3B2A9B #9B2A51
split-complementary
#8A9B2A #2A519B #732A9B
monochromatic
#343B10 #5F6B1D #8A9B2A #B4C939 #C6D669

Accessibility & contrast

On white

3.09
#8A9B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#8A9B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9B2A
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9B2A#FFFFFF#000000##000000
##8A9B2A1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69215
Deuteranopia (green-blind)
#A49333
Tritanopia (blue-blind)
#939285
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a9b2a;
/* rgb */ color: rgb(138, 155, 42);
/* oklch */ color: oklch(65.5% 0.135 117.8);
Tailwind
colors: {
  custom: {
    50: '#afb86c',
    500: '#8a9b2a',
    950: '#000000',
  },
}
SCSS
$custom: #8a9b2a;
$custom-light: #afb86c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9b2a",
  "rgb": {
    "r": 138,
    "g": 155,
    "b": 42
  },
  "hsl": {
    "h": 69.027,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.65477,
    "c": 0.1354,
    "h": 117.8
  },
  "luminance": 0.29013
}

Semantic roles & 50–950 ramp

primary
#8A9B2A
secondary
#7164BD
accent
#47E15E
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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