#8A8C29#8A8C29

#8A8C29 is a mid, moderate yellow. Relative luminance 0.243; OKLCH L 62.0% C 0.119 H 110.6°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8A8C29
RGBrgb(138, 140, 41)
HSLhsl(61, 55%, 35%)
HSVhsv(61, 71%, 55%)
CMYKcmyk(1.4%, 0%, 70.7%, 45.1%)
CIE-LABlab(56.41, -13.42, 49.92)
CIE-LCHlch(56.41, 51.69, 105.05°)
OKLaboklab(61.96% -0.0417 0.1113)
OKLCHoklch(61.96% 0.119 110.6)
XYZxyz(20.2602, 24.3201, 5.7244)
Luminance0.2432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8C29 #2B298C
analogous
#8C5C29 #8A8C29 #588C29
triadic
#8A8C29 #298A8C #8C298A
tetradic
#8A8C29 #298C5C #2B298C #8C2958
square
#8A8C29 #298C5C #2B298C #8C2958
split-complementary
#8A8C29 #29588C #5C298C
monochromatic
#2D2D0D #5B5D1B #8A8C29 #B9BB37 #CED05F

Accessibility & contrast

On white

3.58
#8A8C29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#8A8C29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8C29
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8C29#FFFFFF#000000##000000
##8A8C291.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978619
Deuteranopia (green-blind)
#988930
Tritanopia (blue-blind)
#948378
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a8c29;
/* rgb */ color: rgb(138, 140, 41);
/* oklch */ color: oklch(62.0% 0.119 110.6);
Tailwind
colors: {
  custom: {
    50: '#afad69',
    500: '#8a8c29',
    950: '#000000',
  },
}
SCSS
$custom: #8a8c29;
$custom-light: #afad69;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8c29",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 41
  },
  "hsl": {
    "h": 61.212,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61958,
    "c": 0.11888,
    "h": 110.6
  },
  "luminance": 0.2432
}

Semantic roles & 50–950 ramp

primary
#8A8C29
secondary
#5D5BB6
accent
#4ADE4D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A8C29

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

Preview Lab → · Contrast checker → · Palette generator →

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