#8A9A34#8A9A34

#8A9A34 is a light, vivid yellow. Relative luminance 0.288; OKLCH L 65.3% C 0.127 H 117.7°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8A9A34
RGBrgb(138, 154, 52)
HSLhsl(69, 50%, 40%)
HSVhsv(69, 66%, 60%)
CMYKcmyk(10.4%, 0%, 66.2%, 39.6%)
CIE-LABlab(60.57, -20.03, 49.65)
CIE-LCHlch(60.57, 53.54, 111.97°)
OKLaboklab(65.32% -0.0591 0.1126)
OKLCHoklch(65.32% 0.127 117.7)
XYZxyz(22.6571, 28.7626, 7.6063)
Luminance0.2876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9A34 #44349A
analogous
#9A7734 #8A9A34 #579A34
triadic
#8A9A34 #348A9A #9A348A
tetradic
#8A9A34 #349A77 #44349A #9A3457
square
#8A9A34 #349A77 #44349A #9A3457
split-complementary
#8A9A34 #34579A #77349A
monochromatic
#383E15 #616C25 #8A9A34 #AFC249 #C3D177

Accessibility & contrast

On white

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

On black

6.75
#8A9A34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9A34
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9A34#FFFFFF#000000##000000
##8A9A341.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49226
Deuteranopia (green-blind)
#A2933B
Tritanopia (blue-blind)
#929285
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a9a34;
/* rgb */ color: rgb(138, 154, 52);
/* oklch */ color: oklch(65.3% 0.127 117.7);
Tailwind
colors: {
  custom: {
    50: '#afb771',
    500: '#8a9a34',
    950: '#000000',
  },
}
SCSS
$custom: #8a9a34;
$custom-light: #afb771;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9a34",
  "rgb": {
    "r": 138,
    "g": 154,
    "b": 52
  },
  "hsl": {
    "h": 69.412,
    "s": 49.515,
    "l": 40.392
  },
  "oklch": {
    "l": 0.65322,
    "c": 0.12712,
    "h": 117.7
  },
  "luminance": 0.28762
}

Semantic roles & 50–950 ramp

primary
#8A9A34
secondary
#7C70BA
accent
#4FD964
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9A34

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

Preview Lab → · Contrast checker → · Palette generator →

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