#8A8930#8A8930

#8A8930 is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.3% C 0.110 H 108.6°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8A8930
RGBrgb(138, 137, 48)
HSLhsl(59, 48%, 36%)
HSVhsv(59, 65%, 54%)
CMYKcmyk(0%, 0.7%, 65.2%, 45.9%)
CIE-LABlab(55.59, -11.39, 46.15)
CIE-LCHlch(55.59, 47.54, 103.86°)
OKLaboklab(61.33% -0.0353 0.1046)
OKLCHoklch(61.33% 0.11 108.6)
XYZxyz(19.9610, 23.5086, 6.2819)
Luminance0.2351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8930 #30318A
analogous
#8A5C30 #8A8930 #5E8A30
triadic
#8A8930 #308A89 #89308A
tetradic
#8A8930 #308A5C #30318A #8A305E
square
#8A8930 #308A5C #30318A #8A305E
split-complementary
#8A8930 #305E8A #5C308A
monochromatic
#2F2F10 #5D5C20 #8A8930 #B7B640 #CBCA69

Accessibility & contrast

On white

3.68
#8A8930 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#8A8930 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8930
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8930#FFFFFF#000000##000000
##8A89301.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948325
Deuteranopia (green-blind)
#958736
Tritanopia (blue-blind)
#948077
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a8930;
/* rgb */ color: rgb(138, 137, 48);
/* oklch */ color: oklch(61.3% 0.110 108.6);
Tailwind
colors: {
  custom: {
    50: '#afab6d',
    500: '#8a8930',
    950: '#000000',
  },
}
SCSS
$custom: #8a8930;
$custom-light: #afab6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8930",
  "rgb": {
    "r": 138,
    "g": 137,
    "b": 48
  },
  "hsl": {
    "h": 59.333,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61325,
    "c": 0.11035,
    "h": 108.6
  },
  "luminance": 0.23508
}

Semantic roles & 50–950 ramp

primary
#8A8930
secondary
#6464B2
accent
#51D850
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A8930

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

Preview Lab → · Contrast checker → · Palette generator →

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