#8A8928#8A8928

#8A8928 is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.3% C 0.116 H 108.8°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8A8928
RGBrgb(138, 137, 40)
HSLhsl(59, 55%, 35%)
HSVhsv(59, 71%, 54%)
CMYKcmyk(0%, 0.7%, 71%, 45.9%)
CIE-LABlab(55.53, -11.87, 49.45)
CIE-LCHlch(55.53, 50.85, 103.50°)
OKLaboklab(61.26% -0.0375 0.1101)
OKLCHoklch(61.26% 0.116 108.8)
XYZxyz(19.8106, 23.4484, 5.4895)
Luminance0.2345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8928 #28298A
analogous
#8A5828 #8A8928 #5A8A28
triadic
#8A8928 #288A89 #89288A
tetradic
#8A8928 #288A58 #28298A #8A285A
square
#8A8928 #288A58 #28298A #8A285A
split-complementary
#8A8928 #285A8A #58288A
monochromatic
#2B2B0C #5B5A1A #8A8928 #B9B836 #D0CF5D

Accessibility & contrast

On white

3.69
#8A8928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8A8928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8928
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8928#FFFFFF#000000##000000
##8A89281.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948318
Deuteranopia (green-blind)
#96872F
Tritanopia (blue-blind)
#948076
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a8928;
/* rgb */ color: rgb(138, 137, 40);
/* oklch */ color: oklch(61.3% 0.116 108.8);
Tailwind
colors: {
  custom: {
    50: '#afab69',
    500: '#8a8928',
    950: '#000000',
  },
}
SCSS
$custom: #8a8928;
$custom-light: #afab69;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8928",
  "rgb": {
    "r": 138,
    "g": 137,
    "b": 40
  },
  "hsl": {
    "h": 59.388,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61257,
    "c": 0.11635,
    "h": 108.8
  },
  "luminance": 0.23448
}

Semantic roles & 50–950 ramp

primary
#8A8928
secondary
#595AB5
accent
#4BDE49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A8928

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

Preview Lab → · Contrast checker → · Palette generator →

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