#8B8D24#8B8D24

#8B8D24 is a light, vivid yellow. Relative luminance 0.247; OKLCH L 62.2% C 0.123 H 110.6°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8B8D24
RGBrgb(139, 141, 36)
HSLhsl(61, 59%, 35%)
HSVhsv(61, 74%, 55%)
CMYKcmyk(1.4%, 0%, 74.5%, 44.7%)
CIE-LABlab(56.75, -13.76, 52.17)
CIE-LCHlch(56.75, 53.96, 104.78°)
OKLaboklab(62.24% -0.0433 0.1151)
OKLCHoklch(62.24% 0.123 110.6)
XYZxyz(20.4915, 24.6667, 5.3504)
Luminance0.2467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8D24 #26248D
analogous
#8D5B24 #8B8D24 #578D24
triadic
#8B8D24 #248B8D #8D248B
tetradic
#8B8D24 #248D5B #26248D #8D2457
square
#8B8D24 #248D5B #26248D #8D2457
split-complementary
#8B8D24 #24578D #5B248D
monochromatic
#2B2B0B #5B5C18 #8B8D24 #BBBE30 #D2D457

Accessibility & contrast

On white

3.54
#8B8D24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#8B8D24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8D24
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8D24#FFFFFF#000000##000000
##8B8D241.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#98870F
Deuteranopia (green-blind)
#998A2C
Tritanopia (blue-blind)
#958479
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8b8d24;
/* rgb */ color: rgb(139, 141, 36);
/* oklch */ color: oklch(62.2% 0.123 110.6);
Tailwind
colors: {
  custom: {
    50: '#b0ae67',
    500: '#8b8d24',
    950: '#000000',
  },
}
SCSS
$custom: #8b8d24;
$custom-light: #b0ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8d24",
  "rgb": {
    "r": 139,
    "g": 141,
    "b": 36
  },
  "hsl": {
    "h": 61.143,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62242,
    "c": 0.12299,
    "h": 110.6
  },
  "luminance": 0.24666
}

Semantic roles & 50–950 ramp

primary
#8B8D24
secondary
#5654B8
accent
#45E348
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8D24

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

Preview Lab → · Contrast checker → · Palette generator →

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