#8A9836#8A9836

#8A9836 is a light, vivid yellow. Relative luminance 0.281; OKLCH L 64.9% C 0.123 H 116.9°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#8A9836
RGBrgb(138, 152, 54)
HSLhsl(69, 48%, 40%)
HSVhsv(69, 64%, 60%)
CMYKcmyk(9.2%, 0%, 64.5%, 40.4%)
CIE-LABlab(60.00, -18.86, 48.19)
CIE-LCHlch(60.00, 51.75, 111.38°)
OKLaboklab(64.87% -0.0556 0.1098)
OKLCHoklch(64.87% 0.123 116.9)
XYZxyz(22.3758, 28.1263, 7.7395)
Luminance0.2813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9836 #443698
analogous
#987536 #8A9836 #599836
triadic
#8A9836 #368A98 #98368A
tetradic
#8A9836 #369875 #443698 #983659
square
#8A9836 #369875 #443698 #983659
split-complementary
#8A9836 #365998 #753698
monochromatic
#383E16 #616B26 #8A9836 #AFBF4C #C3CF79

Accessibility & contrast

On white

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

On black

6.63
#8A9836 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9836
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9836#FFFFFF#000000##000000
##8A98361.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2902A
Deuteranopia (green-blind)
#A1913D
Tritanopia (blue-blind)
#929084
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a9836;
/* rgb */ color: rgb(138, 152, 54);
/* oklch */ color: oklch(64.9% 0.123 116.9);
Tailwind
colors: {
  custom: {
    50: '#afb672',
    500: '#8a9836',
    950: '#000000',
  },
}
SCSS
$custom: #8a9836;
$custom-light: #afb672;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9836",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 54
  },
  "hsl": {
    "h": 68.571,
    "s": 47.573,
    "l": 40.392
  },
  "oklch": {
    "l": 0.6487,
    "c": 0.12307,
    "h": 116.9
  },
  "luminance": 0.28126
}

Semantic roles & 50–950 ramp

primary
#8A9836
secondary
#7C72B8
accent
#51D764
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9836

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

Preview Lab → · Contrast checker → · Palette generator →

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