#8A9A2F#8A9A2F

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

Color values

HEX#8A9A2F
RGBrgb(138, 154, 47)
HSLhsl(69, 53%, 39%)
HSVhsv(69, 69%, 60%)
CMYKcmyk(10.4%, 0%, 69.5%, 39.6%)
CIE-LABlab(60.53, -20.35, 51.67)
CIE-LCHlch(60.53, 55.53, 111.50°)
OKLaboklab(65.28% -0.0605 0.116)
OKLCHoklch(65.28% 0.131 117.5)
XYZxyz(22.5504, 28.7199, 7.0443)
Luminance0.2872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9A2F #3F2F9A
analogous
#9A752F #8A9A2F #559A2F
triadic
#8A9A2F #2F8A9A #9A2F8A
tetradic
#8A9A2F #2F9A75 #3F2F9A #9A2F55
square
#8A9A2F #2F9A75 #3F2F9A #9A2F55
split-complementary
#8A9A2F #2F559A #752F9A
monochromatic
#363C12 #606B21 #8A9A2F #B1C541 #C5D370

Accessibility & contrast

On white

3.11
#8A9A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9A2F#FFFFFF#000000##000000
##8A9A2F1.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4921F
Deuteranopia (green-blind)
#A39337
Tritanopia (blue-blind)
#929185
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a9a2f;
/* rgb */ color: rgb(138, 154, 47);
/* oklch */ color: oklch(65.3% 0.131 117.5);
Tailwind
colors: {
  custom: {
    50: '#afb76e',
    500: '#8a9a2f',
    950: '#000000',
  },
}
SCSS
$custom: #8a9a2f;
$custom-light: #afb76e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9a2f",
  "rgb": {
    "r": 138,
    "g": 154,
    "b": 47
  },
  "hsl": {
    "h": 68.972,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65279,
    "c": 0.13083,
    "h": 117.5
  },
  "luminance": 0.2872
}

Semantic roles & 50–950 ramp

primary
#8A9A2F
secondary
#766ABB
accent
#4BDD61
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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