#8A8830#8A8830

#8A8830 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.1% C 0.109 H 108.0°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8A8830
RGBrgb(138, 136, 48)
HSLhsl(59, 48%, 36%)
HSVhsv(59, 65%, 54%)
CMYKcmyk(0%, 1.4%, 65.2%, 45.9%)
CIE-LABlab(55.30, -10.85, 45.85)
CIE-LCHlch(55.30, 47.12, 103.31°)
OKLaboklab(61.1% -0.0337 0.1039)
OKLCHoklch(61.1% 0.109 108)
XYZxyz(19.8196, 23.2256, 6.2347)
Luminance0.2323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8830 #30328A
analogous
#8A5B30 #8A8830 #5F8A30
triadic
#8A8830 #308A88 #88308A
tetradic
#8A8830 #308A5B #30328A #8A305F
square
#8A8830 #308A5B #30328A #8A305F
split-complementary
#8A8830 #305F8A #5B308A
monochromatic
#2F2F10 #5D5B20 #8A8830 #B7B540 #CBC969

Accessibility & contrast

On white

3.72
#8A8830 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#8A8830 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8830
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8830#FFFFFF#000000##000000
##8A88301.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938325
Deuteranopia (green-blind)
#958635
Tritanopia (blue-blind)
#947F76
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a8830;
/* rgb */ color: rgb(138, 136, 48);
/* oklch */ color: oklch(61.1% 0.109 108.0);
Tailwind
colors: {
  custom: {
    50: '#afaa6d',
    500: '#8a8830',
    950: '#000000',
  },
}
SCSS
$custom: #8a8830;
$custom-light: #afaa6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8830",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 48
  },
  "hsl": {
    "h": 58.667,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61095,
    "c": 0.10926,
    "h": 108
  },
  "luminance": 0.23225
}

Semantic roles & 50–950 ramp

primary
#8A8830
secondary
#6465B2
accent
#53D850
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A8830

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

Preview Lab → · Contrast checker → · Palette generator →

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