#8D8B24#8D8B24

#8D8B24 is a mid, vivid yellow. Relative luminance 0.243; OKLCH L 62.0% C 0.120 H 108.3°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8D8B24
RGBrgb(141, 139, 36)
HSLhsl(59, 59%, 35%)
HSVhsv(59, 74%, 55%)
CMYKcmyk(0%, 1.4%, 74.5%, 44.7%)
CIE-LABlab(56.34, -11.79, 51.85)
CIE-LCHlch(56.34, 53.17, 102.82°)
OKLaboklab(61.96% -0.0379 0.1144)
OKLCHoklch(61.96% 0.12 108.3)
XYZxyz(20.5363, 24.2560, 5.2688)
Luminance0.2425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8B24 #24268D
analogous
#8D5724 #8D8B24 #5B8D24
triadic
#8D8B24 #248D8B #8B248D
tetradic
#8D8B24 #248D57 #24268D #8D245B
square
#8D8B24 #248D57 #24268D #8D245B
split-complementary
#8D8B24 #245B8D #57248D
monochromatic
#2B2B0B #5C5B18 #8D8B24 #BEBB30 #D4D257

Accessibility & contrast

On white

3.59
#8D8B24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#8D8B24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8B24
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8B24#FFFFFF#000000##000000
##8D8B241.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978510
Deuteranopia (green-blind)
#98892C
Tritanopia (blue-blind)
#978277
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8d8b24;
/* rgb */ color: rgb(141, 139, 36);
/* oklch */ color: oklch(62.0% 0.120 108.3);
Tailwind
colors: {
  custom: {
    50: '#b2ac67',
    500: '#8d8b24',
    950: '#000000',
  },
}
SCSS
$custom: #8d8b24;
$custom-light: #b2ac67;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8b24",
  "rgb": {
    "r": 141,
    "g": 139,
    "b": 36
  },
  "hsl": {
    "h": 58.857,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.6196,
    "c": 0.12047,
    "h": 108.3
  },
  "luminance": 0.24255
}

Semantic roles & 50–950 ramp

primary
#8D8B24
secondary
#5456B8
accent
#48E345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8B24

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

Preview Lab → · Contrast checker → · Palette generator →

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