#8A8029#8A8029

#8A8029 is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.2% C 0.107 H 102.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8A8029
RGBrgb(138, 128, 41)
HSLhsl(54, 54%, 35%)
HSVhsv(54, 70%, 54%)
CMYKcmyk(0%, 7.2%, 70.3%, 45.9%)
CIE-LABlab(52.95, -6.91, 46.45)
CIE-LCHlch(52.95, 46.97, 98.46°)
OKLaboklab(59.21% -0.0234 0.104)
OKLCHoklch(59.21% 0.107 102.7)
XYZxyz(18.6014, 21.0025, 5.1715)
Luminance0.2100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8029 #29338A
analogous
#8A4F29 #8A8029 #648A29
triadic
#8A8029 #298A80 #80298A
tetradic
#8A8029 #298A4F #29338A #8A2964
square
#8A8029 #298A4F #29338A #8A2964
split-complementary
#8A8029 #29648A #4F298A
monochromatic
#2C280D #5B541B #8A8029 #B9AC37 #CFC45E

Accessibility & contrast

On white

4.04
#8A8029 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#8A8029 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8029
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8029#FFFFFF#000000##000000
##8A80291.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1D
Deuteranopia (green-blind)
#8F802E
Tritanopia (blue-blind)
#95776E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a8029;
/* rgb */ color: rgb(138, 128, 41);
/* oklch */ color: oklch(59.2% 0.107 102.7);
Tailwind
colors: {
  custom: {
    50: '#afa468',
    500: '#8a8029',
    950: '#000000',
  },
}
SCSS
$custom: #8a8029;
$custom-light: #afa468;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8029",
  "rgb": {
    "r": 138,
    "g": 128,
    "b": 41
  },
  "hsl": {
    "h": 53.814,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59205,
    "c": 0.10661,
    "h": 102.7
  },
  "luminance": 0.21002
}

Semantic roles & 50–950 ramp

primary
#8A8029
secondary
#5A63B5
accent
#59DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8A8029

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

Preview Lab → · Contrast checker → · Palette generator →

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