#8A983D#8A983D

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

Color values

HEX#8A983D
RGBrgb(138, 152, 61)
HSLhsl(69, 43%, 42%)
HSVhsv(69, 60%, 60%)
CMYKcmyk(9.2%, 0%, 59.9%, 40.4%)
CIE-LABlab(60.07, -18.33, 45.11)
CIE-LCHlch(60.07, 48.69, 112.11°)
OKLaboklab(64.94% -0.0534 0.1042)
OKLCHoklch(64.94% 0.117 117.1)
XYZxyz(22.5522, 28.1969, 8.6685)
Luminance0.2820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A983D #4B3D98
analogous
#98793D #8A983D #5D983D
triadic
#8A983D #3D8A98 #983D8A
tetradic
#8A983D #3D9879 #4B3D98 #983D5D
square
#8A983D #3D9879 #4B3D98 #983D5D
split-complementary
#8A983D #3D5D98 #793D98
monochromatic
#3B411A #626C2B #8A983D #ACBB57 #C2CD82

Accessibility & contrast

On white

3.16
#8A983D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#8A983D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A983D
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A983D#FFFFFF#000000##000000
##8A983D1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a983d;
/* rgb */ color: rgb(138, 152, 61);
/* oklch */ color: oklch(64.9% 0.117 117.1);
Tailwind
colors: {
  custom: {
    50: '#aeb676',
    500: '#8a983d',
    950: '#000000',
  },
}
SCSS
$custom: #8a983d;
$custom-light: #aeb676;
$custom-dark: #000000;
JSON
{
  "hex": "#8a983d",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 61
  },
  "hsl": {
    "h": 69.231,
    "s": 42.723,
    "l": 41.765
  },
  "oklch": {
    "l": 0.64942,
    "c": 0.11708,
    "h": 117.1
  },
  "luminance": 0.28197
}

Semantic roles & 50–950 ramp

primary
#8A983D
secondary
#837AB7
accent
#55D369
background
#FAFBF7
surface
#F5F6ED
border
#CFD0C8
text
#111109
muted
#80807B

Preview Lab

Preview with #8A983D

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

Preview Lab → · Contrast checker → · Palette generator →

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