#8D8F24#8D8F24

#8D8F24 is a light, vivid yellow. Relative luminance 0.254; OKLCH L 62.9% C 0.125 H 110.6°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8D8F24
RGBrgb(141, 143, 36)
HSLhsl(61, 60%, 35%)
HSVhsv(61, 75%, 56%)
CMYKcmyk(1.4%, 0%, 74.8%, 43.9%)
CIE-LABlab(57.50, -13.92, 52.94)
CIE-LCHlch(57.50, 54.74, 104.73°)
OKLaboklab(62.88% -0.0438 0.1167)
OKLCHoklch(62.88% 0.125 110.6)
XYZxyz(21.1261, 25.4356, 5.4654)
Luminance0.2544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8F24 #26248F
analogous
#8F5B24 #8D8F24 #588F24
triadic
#8D8F24 #248D8F #8F248D
tetradic
#8D8F24 #248F5B #26248F #8F2458
square
#8D8F24 #248F5B #26248F #8F2458
split-complementary
#8D8F24 #24588F #5B248F
monochromatic
#2D2D0B #5D5E18 #8D8F24 #BDC030 #D3D558

Accessibility & contrast

On white

3.45
#8D8F24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#8D8F24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8F24
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8F24#FFFFFF#000000##000000
##8D8F241.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B890E
Deuteranopia (green-blind)
#9C8B2D
Tritanopia (blue-blind)
#97867B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8d8f24;
/* rgb */ color: rgb(141, 143, 36);
/* oklch */ color: oklch(62.9% 0.125 110.6);
Tailwind
colors: {
  custom: {
    50: '#b2af67',
    500: '#8d8f24',
    950: '#000000',
  },
}
SCSS
$custom: #8d8f24;
$custom-light: #b2af67;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8f24",
  "rgb": {
    "r": 141,
    "g": 143,
    "b": 36
  },
  "hsl": {
    "h": 61.121,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.62882,
    "c": 0.12464,
    "h": 110.6
  },
  "luminance": 0.25435
}

Semantic roles & 50–950 ramp

primary
#8D8F24
secondary
#5755B9
accent
#45E348
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8F24

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

Preview Lab → · Contrast checker → · Palette generator →

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