#8B8629#8B8629

#8B8629 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.7% C 0.112 H 106.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8B8629
RGBrgb(139, 134, 41)
HSLhsl(57, 54%, 35%)
HSVhsv(57, 71%, 55%)
CMYKcmyk(0%, 3.6%, 70.5%, 45.5%)
CIE-LABlab(54.76, -9.74, 48.31)
CIE-LCHlch(54.76, 49.28, 101.40°)
OKLaboklab(60.67% -0.0315 0.1079)
OKLCHoklch(60.67% 0.112 106.3)
XYZxyz(19.5735, 22.6999, 5.4479)
Luminance0.2270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8629 #292E8B
analogous
#8B5529 #8B8629 #5F8B29
triadic
#8B8629 #298B86 #86298B
tetradic
#8B8629 #298B55 #292E8B #8B295F
square
#8B8629 #298B55 #292E8B #8B295F
split-complementary
#8B8629 #295F8B #55298B
monochromatic
#2C2B0D #5C581B #8B8629 #BAB437 #D0CA5F

Accessibility & contrast

On white

3.79
#8B8629 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#8B8629 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8629
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8629#FFFFFF#000000##000000
##8B86291.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811B
Deuteranopia (green-blind)
#94852F
Tritanopia (blue-blind)
#957D73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8b8629;
/* rgb */ color: rgb(139, 134, 41);
/* oklch */ color: oklch(60.7% 0.112 106.3);
Tailwind
colors: {
  custom: {
    50: '#b0a969',
    500: '#8b8629',
    950: '#000000',
  },
}
SCSS
$custom: #8b8629;
$custom-light: #b0a969;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8629",
  "rgb": {
    "r": 139,
    "g": 134,
    "b": 41
  },
  "hsl": {
    "h": 56.939,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60667,
    "c": 0.11238,
    "h": 106.3
  },
  "luminance": 0.22699
}

Semantic roles & 50–950 ramp

primary
#8B8629
secondary
#5B5FB5
accent
#52DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8B8629

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

Preview Lab → · Contrast checker → · Palette generator →

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