#8A8D29#8A8D29

#8A8D29 is a light, moderate yellow. Relative luminance 0.246; OKLCH L 62.2% C 0.120 H 111.1°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8A8D29
RGBrgb(138, 141, 41)
HSLhsl(62, 55%, 36%)
HSVhsv(62, 71%, 55%)
CMYKcmyk(2.1%, 0%, 70.9%, 44.7%)
CIE-LABlab(56.70, -13.95, 50.20)
CIE-LCHlch(56.70, 52.11, 105.53°)
OKLaboklab(62.19% -0.0432 0.1119)
OKLCHoklch(62.19% 0.12 111.1)
XYZxyz(20.4070, 24.6136, 5.7733)
Luminance0.2461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8D29 #2C298D
analogous
#8D5E29 #8A8D29 #588D29
triadic
#8A8D29 #298A8D #8D298A
tetradic
#8A8D29 #298D5E #2C298D #8D2958
square
#8A8D29 #298D5E #2C298D #8D2958
split-complementary
#8A8D29 #29588D #5E298D
monochromatic
#2D2E0D #5C5E1B #8A8D29 #B8BC37 #CDD160

Accessibility & contrast

On white

3.55
#8A8D29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#8A8D29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8D29
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8D29#FFFFFF#000000##000000
##8A8D291.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988719
Deuteranopia (green-blind)
#998930
Tritanopia (blue-blind)
#948479
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a8d29;
/* rgb */ color: rgb(138, 141, 41);
/* oklch */ color: oklch(62.2% 0.120 111.1);
Tailwind
colors: {
  custom: {
    50: '#afae6a',
    500: '#8a8d29',
    950: '#000000',
  },
}
SCSS
$custom: #8a8d29;
$custom-light: #afae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8d29",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 41
  },
  "hsl": {
    "h": 61.8,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.6219,
    "c": 0.11997,
    "h": 111.1
  },
  "luminance": 0.24613
}

Semantic roles & 50–950 ramp

primary
#8A8D29
secondary
#5E5BB6
accent
#4ADE4E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A8D29

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

Preview Lab → · Contrast checker → · Palette generator →

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