#8A9939#8A9939

#8A9939 is a light, vivid yellow. Relative luminance 0.285; OKLCH L 65.1% C 0.122 H 117.4°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8A9939
RGBrgb(138, 153, 57)
HSLhsl(69, 46%, 41%)
HSVhsv(69, 63%, 60%)
CMYKcmyk(9.8%, 0%, 62.7%, 40%)
CIE-LABlab(60.32, -19.16, 47.21)
CIE-LCHlch(60.32, 50.95, 112.09°)
OKLaboklab(65.13% -0.0561 0.1081)
OKLCHoklch(65.13% 0.122 117.4)
XYZxyz(22.6114, 28.4814, 8.1764)
Luminance0.2848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9939 #483999
analogous
#997839 #8A9939 #5A9939
triadic
#8A9939 #398A99 #99398A
tetradic
#8A9939 #399978 #483999 #99395A
square
#8A9939 #399978 #483999 #99395A
split-complementary
#8A9939 #395A99 #783999
monochromatic
#3A4018 #626C28 #8A9939 #ADBE51 #C2CF7E

Accessibility & contrast

On white

3.14
#8A9939 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#8A9939 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9939
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9939#FFFFFF#000000##000000
##8A99391.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3912D
Deuteranopia (green-blind)
#A1923F
Tritanopia (blue-blind)
#929185
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a9939;
/* rgb */ color: rgb(138, 153, 57);
/* oklch */ color: oklch(65.1% 0.122 117.4);
Tailwind
colors: {
  custom: {
    50: '#aeb774',
    500: '#8a9939',
    950: '#000000',
  },
}
SCSS
$custom: #8a9939;
$custom-light: #aeb774;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9939",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 57
  },
  "hsl": {
    "h": 69.375,
    "s": 45.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.65134,
    "c": 0.12183,
    "h": 117.4
  },
  "luminance": 0.28481
}

Semantic roles & 50–950 ramp

primary
#8A9939
secondary
#8076B8
accent
#52D567
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9939

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

Preview Lab → · Contrast checker → · Palette generator →

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