#8A8030#8A8030

#8A8030 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.3% C 0.101 H 102.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8A8030
RGBrgb(138, 128, 48)
HSLhsl(53, 48%, 36%)
HSVhsv(53, 65%, 54%)
CMYKcmyk(0%, 7.2%, 65.2%, 45.9%)
CIE-LABlab(53.01, -6.47, 43.42)
CIE-LCHlch(53.01, 43.90, 98.48°)
OKLaboklab(59.27% -0.0213 0.0988)
OKLCHoklch(59.27% 0.101 102.2)
XYZxyz(18.7346, 21.0558, 5.8731)
Luminance0.2105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8030 #303A8A
analogous
#8A5330 #8A8030 #678A30
triadic
#8A8030 #308A80 #80308A
tetradic
#8A8030 #308A53 #303A8A #8A3067
square
#8A8030 #308A53 #303A8A #8A3067
split-complementary
#8A8030 #30678A #53308A
monochromatic
#2F2C10 #5D5620 #8A8030 #B7AA40 #CBC069

Accessibility & contrast

On white

4.03
#8A8030 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#8A8030 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8030
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8030#FFFFFF#000000##000000
##8A80301.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C26
Deuteranopia (green-blind)
#8E8134
Tritanopia (blue-blind)
#94776F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a8030;
/* rgb */ color: rgb(138, 128, 48);
/* oklch */ color: oklch(59.3% 0.101 102.2);
Tailwind
colors: {
  custom: {
    50: '#afa46c',
    500: '#8a8030',
    950: '#000000',
  },
}
SCSS
$custom: #8a8030;
$custom-light: #afa46c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8030",
  "rgb": {
    "r": 138,
    "g": 128,
    "b": 48
  },
  "hsl": {
    "h": 53.333,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.5927,
    "c": 0.10106,
    "h": 102.2
  },
  "luminance": 0.21055
}

Semantic roles & 50–950 ramp

primary
#8A8030
secondary
#646CB2
accent
#5FD850
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8A8030

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

Preview Lab → · Contrast checker → · Palette generator →

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