#8A9A2B#8A9A2B

#8A9A2B is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.2% C 0.134 H 117.4°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8A9A2B
RGBrgb(138, 154, 43)
HSLhsl(69, 56%, 39%)
HSVhsv(69, 72%, 60%)
CMYKcmyk(10.4%, 0%, 72.1%, 39.6%)
CIE-LABlab(60.51, -20.59, 53.19)
CIE-LCHlch(60.51, 57.03, 111.16°)
OKLaboklab(65.25% -0.0615 0.1186)
OKLCHoklch(65.25% 0.134 117.4)
XYZxyz(22.4734, 28.6891, 6.6387)
Luminance0.2869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9A2B #3B2B9A
analogous
#9A722B #8A9A2B #529A2B
triadic
#8A9A2B #2B8A9A #9A2B8A
tetradic
#8A9A2B #2B9A72 #3B2B9A #9A2B52
square
#8A9A2B #2B9A72 #3B2B9A #9A2B52
split-complementary
#8A9A2B #2B529A #722B9A
monochromatic
#343A10 #5F6A1E #8A9A2B #B4C83A #C6D56A

Accessibility & contrast

On white

3.12
#8A9A2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#8A9A2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9A2B
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9A2B#FFFFFF#000000##000000
##8A9A2B1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59218
Deuteranopia (green-blind)
#A39334
Tritanopia (blue-blind)
#939184
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a9a2b;
/* rgb */ color: rgb(138, 154, 43);
/* oklch */ color: oklch(65.2% 0.134 117.4);
Tailwind
colors: {
  custom: {
    50: '#afb76c',
    500: '#8a9a2b',
    950: '#000000',
  },
}
SCSS
$custom: #8a9a2b;
$custom-light: #afb76c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9a2b",
  "rgb": {
    "r": 138,
    "g": 154,
    "b": 43
  },
  "hsl": {
    "h": 68.649,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.65248,
    "c": 0.13356,
    "h": 117.4
  },
  "luminance": 0.28689
}

Semantic roles & 50–950 ramp

primary
#8A9A2B
secondary
#7165BC
accent
#48E05E
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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