#8A983E#8A983E

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

Color values

HEX#8A983E
RGBrgb(138, 152, 62)
HSLhsl(69, 42%, 42%)
HSVhsv(69, 59%, 60%)
CMYKcmyk(9.2%, 0%, 59.2%, 40.4%)
CIE-LABlab(60.08, -18.25, 44.66)
CIE-LCHlch(60.08, 48.24, 112.23°)
OKLaboklab(64.95% -0.053 0.1034)
OKLCHoklch(64.95% 0.116 117.2)
XYZxyz(22.5794, 28.2078, 8.8117)
Luminance0.2821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A983E #4C3E98
analogous
#98793E #8A983E #5D983E
triadic
#8A983E #3E8A98 #983E8A
tetradic
#8A983E #3E9879 #4C3E98 #983E5D
square
#8A983E #3E9879 #4C3E98 #983E5D
split-complementary
#8A983E #3E5D98 #793E98
monochromatic
#3B411B #636D2C #8A983E #ACBB58 #C1CD84

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8a983e;
/* rgb */ color: rgb(138, 152, 62);
/* oklch */ color: oklch(65.0% 0.116 117.2);
Tailwind
colors: {
  custom: {
    50: '#aeb677',
    500: '#8a983e',
    950: '#000000',
  },
}
SCSS
$custom: #8a983e;
$custom-light: #aeb677;
$custom-dark: #000000;
JSON
{
  "hex": "#8a983e",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 62
  },
  "hsl": {
    "h": 69.333,
    "s": 42.056,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64953,
    "c": 0.11618,
    "h": 117.2
  },
  "luminance": 0.28208
}

Semantic roles & 50–950 ramp

primary
#8A983E
secondary
#847BB7
accent
#56D269
background
#FAFBF7
surface
#F5F6ED
border
#CFD0C8
text
#111109
muted
#80807B

Preview Lab

Preview with #8A983E

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

Preview Lab → · Contrast checker → · Palette generator →

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