#8A8B29#8A8B29

#8A8B29 is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 61.7% C 0.118 H 110.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8A8B29
RGBrgb(138, 139, 41)
HSLhsl(61, 54%, 35%)
HSVhsv(61, 71%, 55%)
CMYKcmyk(0.7%, 0%, 70.5%, 45.5%)
CIE-LABlab(56.12, -12.89, 49.63)
CIE-LCHlch(56.12, 51.27, 104.56°)
OKLaboklab(61.73% -0.0402 0.1107)
OKLCHoklch(61.73% 0.118 110)
XYZxyz(20.1148, 24.0292, 5.6759)
Luminance0.2403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8B29 #2A298B
analogous
#8B5B29 #8A8B29 #598B29
triadic
#8A8B29 #298A8B #8B298A
tetradic
#8A8B29 #298B5B #2A298B #8B2959
square
#8A8B29 #298B5B #2A298B #8B2959
split-complementary
#8A8B29 #29598B #5B298B
monochromatic
#2C2C0D #5B5C1B #8A8B29 #B9BA37 #CFD05F

Accessibility & contrast

On white

3.62
#8A8B29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#8A8B29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8B29
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8B29#FFFFFF#000000##000000
##8A8B291.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968519
Deuteranopia (green-blind)
#978830
Tritanopia (blue-blind)
#948278
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a8b29;
/* rgb */ color: rgb(138, 139, 41);
/* oklch */ color: oklch(61.7% 0.118 110.0);
Tailwind
colors: {
  custom: {
    50: '#afac69',
    500: '#8a8b29',
    950: '#000000',
  },
}
SCSS
$custom: #8a8b29;
$custom-light: #afac69;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8b29",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 41
  },
  "hsl": {
    "h": 60.612,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61727,
    "c": 0.11779,
    "h": 110
  },
  "luminance": 0.24029
}

Semantic roles & 50–950 ramp

primary
#8A8B29
secondary
#5B5BB5
accent
#4ADE4C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A8B29

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

Preview Lab → · Contrast checker → · Palette generator →

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