#8A7E29#8A7E29

#8A7E29 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.8% C 0.105 H 101.2°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8A7E29
RGBrgb(138, 126, 41)
HSLhsl(53, 54%, 35%)
HSVhsv(53, 70%, 54%)
CMYKcmyk(0%, 8.7%, 70.3%, 45.9%)
CIE-LABlab(52.38, -5.81, 45.88)
CIE-LCHlch(52.38, 46.24, 97.21°)
OKLaboklab(58.75% -0.0203 0.1028)
OKLCHoklch(58.75% 0.105 101.2)
XYZxyz(18.3431, 20.4859, 5.0854)
Luminance0.2049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7E29 #29358A
analogous
#8A4D29 #8A7E29 #668A29
triadic
#8A7E29 #298A7E #7E298A
tetradic
#8A7E29 #298A4D #29358A #8A2966
square
#8A7E29 #298A4D #29358A #8A2966
split-complementary
#8A7E29 #29668A #4D298A
monochromatic
#2C280D #5B531B #8A7E29 #B9A937 #CFC15E

Accessibility & contrast

On white

4.12
#8A7E29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#8A7E29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7E29
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7E29#FFFFFF#000000##000000
##8A7E291.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1D
Deuteranopia (green-blind)
#8D7F2E
Tritanopia (blue-blind)
#95756D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a7e29;
/* rgb */ color: rgb(138, 126, 41);
/* oklch */ color: oklch(58.8% 0.105 101.2);
Tailwind
colors: {
  custom: {
    50: '#afa368',
    500: '#8a7e29',
    950: '#000000',
  },
}
SCSS
$custom: #8a7e29;
$custom-light: #afa368;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7e29",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 41
  },
  "hsl": {
    "h": 52.577,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58752,
    "c": 0.10476,
    "h": 101.2
  },
  "luminance": 0.20485
}

Semantic roles & 50–950 ramp

primary
#8A7E29
secondary
#5A65B5
accent
#5CDE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8A7E29

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

Preview Lab → · Contrast checker → · Palette generator →

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