#8A8E29#8A8E29

#8A8E29 is a light, vivid yellow. Relative luminance 0.249; OKLCH L 62.4% C 0.121 H 111.7°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8A8E29
RGBrgb(138, 142, 41)
HSLhsl(62, 55%, 36%)
HSVhsv(62, 71%, 56%)
CMYKcmyk(2.8%, 0%, 71.1%, 44.3%)
CIE-LABlab(56.99, -14.48, 50.49)
CIE-LCHlch(56.99, 52.53, 106.00°)
OKLaboklab(62.42% -0.0447 0.1125)
OKLCHoklch(62.42% 0.121 111.7)
XYZxyz(20.5551, 24.9099, 5.8227)
Luminance0.2491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8E29 #2D298E
analogous
#8E5F29 #8A8E29 #578E29
triadic
#8A8E29 #298A8E #8E298A
tetradic
#8A8E29 #298E5F #2D298E #8E2957
square
#8A8E29 #298E5F #2D298E #8E2957
split-complementary
#8A8E29 #29578E #5F298E
monochromatic
#2E2F0E #5C5F1B #8A8E29 #B8BD37 #CDD160

Accessibility & contrast

On white

3.51
#8A8E29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#8A8E29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8E29
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8E29#FFFFFF#000000##000000
##8A8E291.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#998718
Deuteranopia (green-blind)
#9A8A30
Tritanopia (blue-blind)
#94857A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a8e29;
/* rgb */ color: rgb(138, 142, 41);
/* oklch */ color: oklch(62.4% 0.121 111.7);
Tailwind
colors: {
  custom: {
    50: '#afae6a',
    500: '#8a8e29',
    950: '#000000',
  },
}
SCSS
$custom: #8a8e29;
$custom-light: #afae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8e29",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 41
  },
  "hsl": {
    "h": 62.376,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.62423,
    "c": 0.12108,
    "h": 111.7
  },
  "luminance": 0.24909
}

Semantic roles & 50–950 ramp

primary
#8A8E29
secondary
#605CB7
accent
#49DF4F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A8E29

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

Preview Lab → · Contrast checker → · Palette generator →

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