#8A9A30#8A9A30

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

Color values

HEX#8A9A30
RGBrgb(138, 154, 48)
HSLhsl(69, 52%, 40%)
HSVhsv(69, 69%, 60%)
CMYKcmyk(10.4%, 0%, 68.8%, 39.6%)
CIE-LABlab(60.54, -20.29, 51.27)
CIE-LCHlch(60.54, 55.14, 111.59°)
OKLaboklab(65.29% -0.0602 0.1154)
OKLCHoklch(65.29% 0.13 117.6)
XYZxyz(22.5708, 28.7281, 7.1518)
Luminance0.2873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9A30 #40309A
analogous
#9A7530 #8A9A30 #559A30
triadic
#8A9A30 #308A9A #9A308A
tetradic
#8A9A30 #309A75 #40309A #9A3055
square
#8A9A30 #309A75 #40309A #9A3055
split-complementary
#8A9A30 #30559A #75309A
monochromatic
#363D13 #606B21 #8A9A30 #B1C443 #C4D372

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9A30#FFFFFF#000000##000000
##8A9A301.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)
#A49220
Deuteranopia (green-blind)
#A39338
Tritanopia (blue-blind)
#929185
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a9a30;
/* rgb */ color: rgb(138, 154, 48);
/* oklch */ color: oklch(65.3% 0.130 117.6);
Tailwind
colors: {
  custom: {
    50: '#afb76f',
    500: '#8a9a30',
    950: '#000000',
  },
}
SCSS
$custom: #8a9a30;
$custom-light: #afb76f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9a30",
  "rgb": {
    "r": 138,
    "g": 154,
    "b": 48
  },
  "hsl": {
    "h": 69.057,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65287,
    "c": 0.13012,
    "h": 117.6
  },
  "luminance": 0.28728
}

Semantic roles & 50–950 ramp

primary
#8A9A30
secondary
#776BBB
accent
#4CDC62
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9A30

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

Preview Lab → · Contrast checker → · Palette generator →

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