#8A7C29#8A7C29

#8A7C29 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.3% C 0.103 H 99.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8A7C29
RGBrgb(138, 124, 41)
HSLhsl(51, 54%, 35%)
HSVhsv(51, 70%, 54%)
CMYKcmyk(0%, 10.1%, 70.3%, 45.9%)
CIE-LABlab(51.81, -4.69, 45.30)
CIE-LCHlch(51.81, 45.54, 95.91°)
OKLaboklab(58.3% -0.0171 0.1016)
OKLCHoklch(58.3% 0.103 99.6)
XYZxyz(18.0899, 19.9795, 5.0010)
Luminance0.1998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7C29 #29378A
analogous
#8A4B29 #8A7C29 #688A29
triadic
#8A7C29 #298A7C #7C298A
tetradic
#8A7C29 #298A4B #29378A #8A2968
square
#8A7C29 #298A4B #29378A #8A2968
split-complementary
#8A7C29 #29688A #4B298A
monochromatic
#2C270D #5B521B #8A7C29 #B9A637 #CFBF5E

Accessibility & contrast

On white

4.20
#8A7C29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#8A7C29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7C29
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7C29#FFFFFF#000000##000000
##8A7C291.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#88791E
Deuteranopia (green-blind)
#8C7E2E
Tritanopia (blue-blind)
#95736B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a7c29;
/* rgb */ color: rgb(138, 124, 41);
/* oklch */ color: oklch(58.3% 0.103 99.6);
Tailwind
colors: {
  custom: {
    50: '#afa168',
    500: '#8a7c29',
    950: '#000000',
  },
}
SCSS
$custom: #8a7c29;
$custom-light: #afa168;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7c29",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 41
  },
  "hsl": {
    "h": 51.34,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58301,
    "c": 0.10299,
    "h": 99.6
  },
  "luminance": 0.19979
}

Semantic roles & 50–950 ramp

primary
#8A7C29
secondary
#5A67B5
accent
#60DE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7C29

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

Preview Lab → · Contrast checker → · Palette generator →

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