#8A9839#8A9839

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

Color values

HEX#8A9839
RGBrgb(138, 152, 57)
HSLhsl(69, 45%, 41%)
HSVhsv(69, 63%, 60%)
CMYKcmyk(9.2%, 0%, 62.5%, 40.4%)
CIE-LABlab(60.03, -18.64, 46.89)
CIE-LCHlch(60.03, 50.46, 111.68°)
OKLaboklab(64.9% -0.0547 0.1075)
OKLCHoklch(64.9% 0.121 117)
XYZxyz(22.4484, 28.1554, 8.1221)
Luminance0.2816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9839 #473998
analogous
#987639 #8A9839 #5A9839
triadic
#8A9839 #398A98 #98398A
tetradic
#8A9839 #399876 #473998 #98395A
square
#8A9839 #399876 #473998 #98395A
split-complementary
#8A9839 #395A98 #763998
monochromatic
#393F18 #626B28 #8A9839 #AEBE51 #C2CE7D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9839#FFFFFF#000000##000000
##8A98391.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)
#A2902E
Deuteranopia (green-blind)
#A1913F
Tritanopia (blue-blind)
#929084
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a9839;
/* rgb */ color: rgb(138, 152, 57);
/* oklch */ color: oklch(64.9% 0.121 117.0);
Tailwind
colors: {
  custom: {
    50: '#aeb674',
    500: '#8a9839',
    950: '#000000',
  },
}
SCSS
$custom: #8a9839;
$custom-light: #aeb674;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9839",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 57
  },
  "hsl": {
    "h": 68.842,
    "s": 45.455,
    "l": 40.98
  },
  "oklch": {
    "l": 0.649,
    "c": 0.12058,
    "h": 117
  },
  "luminance": 0.28155
}

Semantic roles & 50–950 ramp

primary
#8A9839
secondary
#7F75B8
accent
#53D566
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9839

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

Preview Lab → · Contrast checker → · Palette generator →

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