#8A983A#8A983A

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

Color values

HEX#8A983A
RGBrgb(138, 152, 58)
HSLhsl(69, 45%, 41%)
HSVhsv(69, 62%, 60%)
CMYKcmyk(9.2%, 0%, 61.8%, 40.4%)
CIE-LABlab(60.04, -18.57, 46.45)
CIE-LCHlch(60.04, 50.03, 111.79°)
OKLaboklab(64.91% -0.0544 0.1067)
OKLCHoklch(64.91% 0.12 117)
XYZxyz(22.4736, 28.1655, 8.2547)
Luminance0.2817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A983A #483A98
analogous
#98773A #8A983A #5B983A
triadic
#8A983A #3A8A98 #983A8A
tetradic
#8A983A #3A9877 #483A98 #983A5B
square
#8A983A #3A9877 #483A98 #983A5B
split-complementary
#8A983A #3A5B98 #773A98
monochromatic
#3A3F18 #626C29 #8A983A #ADBD52 #C2CE7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A983A#FFFFFF#000000##000000
##8A983A1.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)
#A2902F
Deuteranopia (green-blind)
#A09140
Tritanopia (blue-blind)
#929084
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a983a;
/* rgb */ color: rgb(138, 152, 58);
/* oklch */ color: oklch(64.9% 0.120 117.0);
Tailwind
colors: {
  custom: {
    50: '#aeb674',
    500: '#8a983a',
    950: '#000000',
  },
}
SCSS
$custom: #8a983a;
$custom-light: #aeb674;
$custom-dark: #000000;
JSON
{
  "hex": "#8a983a",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 58
  },
  "hsl": {
    "h": 68.936,
    "s": 44.762,
    "l": 41.176
  },
  "oklch": {
    "l": 0.6491,
    "c": 0.11972,
    "h": 117
  },
  "luminance": 0.28165
}

Semantic roles & 50–950 ramp

primary
#8A983A
secondary
#8076B8
accent
#53D467
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8A983A

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

Preview Lab → · Contrast checker → · Palette generator →

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