#8A9830#8A9830

#8A9830 is a light, vivid yellow. Relative luminance 0.281; OKLCH L 64.8% C 0.128 H 116.7°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#8A9830
RGBrgb(138, 152, 48)
HSLhsl(68, 52%, 39%)
HSVhsv(68, 68%, 60%)
CMYKcmyk(9.2%, 0%, 68.4%, 40.4%)
CIE-LABlab(59.95, -19.27, 50.67)
CIE-LCHlch(59.95, 54.21, 110.82°)
OKLaboklab(64.82% -0.0574 0.1141)
OKLCHoklch(64.82% 0.128 116.7)
XYZxyz(22.2435, 28.0734, 7.0427)
Luminance0.2807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9830 #3E3098
analogous
#987230 #8A9830 #569830
triadic
#8A9830 #308A98 #98308A
tetradic
#8A9830 #309872 #3E3098 #983056
square
#8A9830 #309872 #3E3098 #983056
split-complementary
#8A9830 #305698 #723098
monochromatic
#363B13 #606921 #8A9830 #B2C342 #C5D270

Accessibility & contrast

On white

3.17
#8A9830 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#8A9830 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9830
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9830#FFFFFF#000000##000000
##8A98301.003.176.616.61
#FFFFFF3.171.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29021
Deuteranopia (green-blind)
#A19138
Tritanopia (blue-blind)
#938F83
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a9830;
/* rgb */ color: rgb(138, 152, 48);
/* oklch */ color: oklch(64.8% 0.128 116.7);
Tailwind
colors: {
  custom: {
    50: '#afb66f',
    500: '#8a9830',
    950: '#000000',
  },
}
SCSS
$custom: #8a9830;
$custom-light: #afb66f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9830",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 48
  },
  "hsl": {
    "h": 68.077,
    "s": 52,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64817,
    "c": 0.1277,
    "h": 116.7
  },
  "luminance": 0.28073
}

Semantic roles & 50–950 ramp

primary
#8A9830
secondary
#756ABA
accent
#4CDB60
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9830

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

Preview Lab → · Contrast checker → · Palette generator →

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