#8B8724#8B8724

#8B8724 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 60.9% C 0.117 H 107.1°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8B8724
RGBrgb(139, 135, 36)
HSLhsl(58, 59%, 34%)
HSVhsv(58, 74%, 55%)
CMYKcmyk(0%, 2.9%, 74.1%, 45.5%)
CIE-LABlab(55.02, -10.55, 50.52)
CIE-LCHlch(55.02, 51.61, 101.79°)
OKLaboklab(60.86% -0.0343 0.1116)
OKLCHoklch(60.86% 0.117 107.1)
XYZxyz(19.6306, 22.9450, 5.0635)
Luminance0.2294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8724 #24288B
analogous
#8B5424 #8B8724 #5C8B24
triadic
#8B8724 #248B87 #87248B
tetradic
#8B8724 #248B54 #24288B #8B245C
square
#8B8724 #248B54 #24288B #8B245C
split-complementary
#8B8724 #245C8B #54248B
monochromatic
#2A290B #5A5817 #8B8724 #BCB631 #D3CE56

Accessibility & contrast

On white

3.76
#8B8724 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#8B8724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8724
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8724#FFFFFF#000000##000000
##8B87241.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938212
Deuteranopia (green-blind)
#95852B
Tritanopia (blue-blind)
#957E74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8b8724;
/* rgb */ color: rgb(139, 135, 36);
/* oklch */ color: oklch(60.9% 0.117 107.1);
Tailwind
colors: {
  custom: {
    50: '#b0a966',
    500: '#8b8724',
    950: '#000000',
  },
}
SCSS
$custom: #8b8724;
$custom-light: #b0a966;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8724",
  "rgb": {
    "r": 139,
    "g": 135,
    "b": 36
  },
  "hsl": {
    "h": 57.67,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60858,
    "c": 0.11676,
    "h": 107.1
  },
  "luminance": 0.22944
}

Semantic roles & 50–950 ramp

primary
#8B8724
secondary
#5357B7
accent
#4CE246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B8724

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

Preview Lab → · Contrast checker → · Palette generator →

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