#8B8029#8B8029

#8B8029 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.3% C 0.107 H 102.0°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8B8029
RGBrgb(139, 128, 41)
HSLhsl(53, 54%, 35%)
HSVhsv(53, 71%, 55%)
CMYKcmyk(0%, 7.9%, 70.5%, 45.5%)
CIE-LABlab(53.05, -6.45, 46.58)
CIE-LCHlch(53.05, 47.02, 97.89°)
OKLaboklab(59.3% -0.0222 0.1042)
OKLCHoklch(59.3% 0.107 102)
XYZxyz(18.7677, 21.0882, 5.1792)
Luminance0.2109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8029 #29348B
analogous
#8B4F29 #8B8029 #658B29
triadic
#8B8029 #298B80 #80298B
tetradic
#8B8029 #298B4F #29348B #8B2965
square
#8B8029 #298B4F #29348B #8B2965
split-complementary
#8B8029 #29658B #4F298B
monochromatic
#2C290D #5C541B #8B8029 #BAAC37 #D0C35F

Accessibility & contrast

On white

4.02
#8B8029 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#8B8029 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8029
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8029#FFFFFF#000000##000000
##8B80291.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1C
Deuteranopia (green-blind)
#8F812E
Tritanopia (blue-blind)
#96776E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8b8029;
/* rgb */ color: rgb(139, 128, 41);
/* oklch */ color: oklch(59.3% 0.107 102.0);
Tailwind
colors: {
  custom: {
    50: '#b0a468',
    500: '#8b8029',
    950: '#000000',
  },
}
SCSS
$custom: #8b8029;
$custom-light: #b0a468;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8029",
  "rgb": {
    "r": 139,
    "g": 128,
    "b": 41
  },
  "hsl": {
    "h": 53.265,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59302,
    "c": 0.10657,
    "h": 102
  },
  "luminance": 0.21087
}

Semantic roles & 50–950 ramp

primary
#8B8029
secondary
#5B65B5
accent
#5BDE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B8029

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

Preview Lab → · Contrast checker → · Palette generator →

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