#8B8024#8B8024

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

Color values

HEX#8B8024
RGBrgb(139, 128, 36)
HSLhsl(54, 59%, 34%)
HSVhsv(54, 74%, 55%)
CMYKcmyk(0%, 7.9%, 74.1%, 45.5%)
CIE-LABlab(53.01, -6.72, 48.58)
CIE-LCHlch(53.01, 49.05, 97.88°)
OKLaboklab(59.26% -0.0235 0.1075)
OKLCHoklch(59.26% 0.11 102.3)
XYZxyz(18.6859, 21.0555, 4.7486)
Luminance0.2105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8024 #242F8B
analogous
#8B4D24 #8B8024 #638B24
triadic
#8B8024 #248B80 #80248B
tetradic
#8B8024 #248B4D #242F8B #8B2463
square
#8B8024 #248B4D #242F8B #8B2463
split-complementary
#8B8024 #24638B #4D248B
monochromatic
#2A260B #5A5317 #8B8024 #BCAD31 #D3C656

Accessibility & contrast

On white

4.03
#8B8024 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#8B8024 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8024
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8024#FFFFFF#000000##000000
##8B80241.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b8024;
/* rgb */ color: rgb(139, 128, 36);
/* oklch */ color: oklch(59.3% 0.110 102.3);
Tailwind
colors: {
  custom: {
    50: '#b0a465',
    500: '#8b8024',
    950: '#000000',
  },
}
SCSS
$custom: #8b8024;
$custom-light: #b0a465;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8024",
  "rgb": {
    "r": 139,
    "g": 128,
    "b": 36
  },
  "hsl": {
    "h": 53.592,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59262,
    "c": 0.11007,
    "h": 102.3
  },
  "luminance": 0.21055
}

Semantic roles & 50–950 ramp

primary
#8B8024
secondary
#535EB7
accent
#56E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B8024

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

Preview Lab → · Contrast checker → · Palette generator →

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