#8A983B#8A983B

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

Color values

HEX#8A983B
RGBrgb(138, 152, 59)
HSLhsl(69, 44%, 41%)
HSVhsv(69, 61%, 60%)
CMYKcmyk(9.2%, 0%, 61.2%, 40.4%)
CIE-LABlab(60.05, -18.49, 46.01)
CIE-LCHlch(60.05, 49.59, 111.89°)
OKLaboklab(64.92% -0.054 0.1059)
OKLCHoklch(64.92% 0.119 117)
XYZxyz(22.4993, 28.1758, 8.3900)
Luminance0.2818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A983B #493B98
analogous
#98783B #8A983B #5C983B
triadic
#8A983B #3B8A98 #983B8A
tetradic
#8A983B #3B9878 #493B98 #983B5C
square
#8A983B #3B9878 #493B98 #983B5C
split-complementary
#8A983B #3B5C98 #783B98
monochromatic
#3A4019 #626C2A #8A983B #ADBD54 #C2CE80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A983B#FFFFFF#000000##000000
##8A983B1.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)
#A29030
Deuteranopia (green-blind)
#A09141
Tritanopia (blue-blind)
#929084
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a983b;
/* rgb */ color: rgb(138, 152, 59);
/* oklch */ color: oklch(64.9% 0.119 117.0);
Tailwind
colors: {
  custom: {
    50: '#aeb675',
    500: '#8a983b',
    950: '#000000',
  },
}
SCSS
$custom: #8a983b;
$custom-light: #aeb675;
$custom-dark: #000000;
JSON
{
  "hex": "#8a983b",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 59
  },
  "hsl": {
    "h": 69.032,
    "s": 44.076,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6492,
    "c": 0.11886,
    "h": 117
  },
  "luminance": 0.28176
}

Semantic roles & 50–950 ramp

primary
#8A983B
secondary
#8177B7
accent
#54D467
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8A983B

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

Preview Lab → · Contrast checker → · Palette generator →

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