#8B8A24#8B8A24

#8B8A24 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.5% C 0.120 H 108.9°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8B8A24
RGBrgb(139, 138, 36)
HSLhsl(59, 59%, 34%)
HSVhsv(59, 74%, 55%)
CMYKcmyk(0%, 0.7%, 74.1%, 45.5%)
CIE-LABlab(55.88, -12.16, 51.35)
CIE-LCHlch(55.88, 52.77, 103.33°)
OKLaboklab(61.55% -0.0388 0.1134)
OKLCHoklch(61.55% 0.12 108.9)
XYZxyz(20.0551, 23.7939, 5.2050)
Luminance0.2379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8A24 #24258B
analogous
#8B5624 #8B8A24 #598B24
triadic
#8B8A24 #248B8A #8A248B
tetradic
#8B8A24 #248B56 #24258B #8B2459
square
#8B8A24 #248B56 #24258B #8B2459
split-complementary
#8B8A24 #24598B #56248B
monochromatic
#2A290B #5A5A17 #8B8A24 #BCBA31 #D3D256

Accessibility & contrast

On white

3.65
#8B8A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#8B8A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8A24
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8A24#FFFFFF#000000##000000
##8B8A241.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968410
Deuteranopia (green-blind)
#97872C
Tritanopia (blue-blind)
#958176
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8b8a24;
/* rgb */ color: rgb(139, 138, 36);
/* oklch */ color: oklch(61.5% 0.120 108.9);
Tailwind
colors: {
  custom: {
    50: '#b0ab67',
    500: '#8b8a24',
    950: '#000000',
  },
}
SCSS
$custom: #8b8a24;
$custom-light: #b0ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8a24",
  "rgb": {
    "r": 139,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 59.417,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.61549,
    "c": 0.11983,
    "h": 108.9
  },
  "luminance": 0.23793
}

Semantic roles & 50–950 ramp

primary
#8B8A24
secondary
#5354B7
accent
#47E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8A24

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

Preview Lab → · Contrast checker → · Palette generator →

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