#8A8F29#8A8F29

#8A8F29 is a light, vivid yellow. Relative luminance 0.252; OKLCH L 62.7% C 0.122 H 112.2°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8A8F29
RGBrgb(138, 143, 41)
HSLhsl(63, 55%, 36%)
HSVhsv(63, 71%, 56%)
CMYKcmyk(3.5%, 0%, 71.3%, 43.9%)
CIE-LABlab(57.28, -15.01, 50.78)
CIE-LCHlch(57.28, 52.95, 106.47°)
OKLaboklab(62.66% -0.0462 0.1131)
OKLCHoklch(62.66% 0.122 112.2)
XYZxyz(20.7046, 25.2088, 5.8725)
Luminance0.2521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8F29 #2E298F
analogous
#8F6129 #8A8F29 #578F29
triadic
#8A8F29 #298A8F #8F298A
tetradic
#8A8F29 #298F61 #2E298F #8F2957
square
#8A8F29 #298F61 #2E298F #8F2957
split-complementary
#8A8F29 #29578F #61298F
monochromatic
#2E300E #5C5F1B #8A8F29 #B8BF37 #CCD261

Accessibility & contrast

On white

3.48
#8A8F29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#8A8F29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8F29
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8F29#FFFFFF#000000##000000
##8A8F291.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8818
Deuteranopia (green-blind)
#9A8B31
Tritanopia (blue-blind)
#94867B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a8f29;
/* rgb */ color: rgb(138, 143, 41);
/* oklch */ color: oklch(62.7% 0.122 112.2);
Tailwind
colors: {
  custom: {
    50: '#afaf6a',
    500: '#8a8f29',
    950: '#000000',
  },
}
SCSS
$custom: #8a8f29;
$custom-light: #afaf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8f29",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 41
  },
  "hsl": {
    "h": 62.941,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.62655,
    "c": 0.12219,
    "h": 112.2
  },
  "luminance": 0.25208
}

Semantic roles & 50–950 ramp

primary
#8A8F29
secondary
#615CB7
accent
#49DF50
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A8F29

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

Preview Lab → · Contrast checker → · Palette generator →

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