#8A983F#8A983F

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

Color values

HEX#8A983F
RGBrgb(138, 152, 63)
HSLhsl(69, 41%, 42%)
HSVhsv(69, 59%, 60%)
CMYKcmyk(9.2%, 0%, 58.6%, 40.4%)
CIE-LABlab(60.09, -18.16, 44.20)
CIE-LCHlch(60.09, 47.79, 112.34°)
OKLaboklab(64.96% -0.0527 0.1025)
OKLCHoklch(64.96% 0.115 117.2)
XYZxyz(22.6070, 28.2189, 8.9575)
Luminance0.2822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A983F #4D3F98
analogous
#98793F #8A983F #5E983F
triadic
#8A983F #3F8A98 #983F8A
tetradic
#8A983F #3F9879 #4D3F98 #983F5E
square
#8A983F #3F9879 #4D3F98 #983F5E
split-complementary
#8A983F #3F5E98 #793F98
monochromatic
#3B411B #636D2D #8A983F #ABBA5A #C1CC85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A983F#FFFFFF#000000##000000
##8A983F1.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)
#A29035
Deuteranopia (green-blind)
#A09144
Tritanopia (blue-blind)
#929085
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a983f;
/* rgb */ color: rgb(138, 152, 63);
/* oklch */ color: oklch(65.0% 0.115 117.2);
Tailwind
colors: {
  custom: {
    50: '#aeb677',
    500: '#8a983f',
    950: '#000000',
  },
}
SCSS
$custom: #8a983f;
$custom-light: #aeb677;
$custom-dark: #000000;
JSON
{
  "hex": "#8a983f",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 63
  },
  "hsl": {
    "h": 69.438,
    "s": 41.395,
    "l": 42.157
  },
  "oklch": {
    "l": 0.64964,
    "c": 0.11527,
    "h": 117.2
  },
  "luminance": 0.28219
}

Semantic roles & 50–950 ramp

primary
#8A983F
secondary
#857CB7
accent
#57D16A
background
#FAFBF7
surface
#F5F6ED
border
#CFD0C8
text
#111109
muted
#80807B

Preview Lab

Preview with #8A983F

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

Preview Lab → · Contrast checker → · Palette generator →

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