#8D8A24#8D8A24

#8D8A24 is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 61.7% C 0.119 H 107.7°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8D8A24
RGBrgb(141, 138, 36)
HSLhsl(58, 59%, 35%)
HSVhsv(58, 74%, 55%)
CMYKcmyk(0%, 2.1%, 74.5%, 44.7%)
CIE-LABlab(56.06, -11.26, 51.57)
CIE-LCHlch(56.06, 52.79, 102.31°)
OKLaboklab(61.73% -0.0364 0.1138)
OKLCHoklch(61.73% 0.119 107.7)
XYZxyz(20.3922, 23.9677, 5.2208)
Luminance0.2397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A24 #24278D
analogous
#8D5624 #8D8A24 #5B8D24
triadic
#8D8A24 #248D8A #8A248D
tetradic
#8D8A24 #248D56 #24278D #8D245B
square
#8D8A24 #248D56 #24278D #8D245B
split-complementary
#8D8A24 #245B8D #56248D
monochromatic
#2B2B0B #5C5A18 #8D8A24 #BEBA30 #D4D157

Accessibility & contrast

On white

3.62
#8D8A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#8D8A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8A24
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8A24#FFFFFF#000000##000000
##8D8A241.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d8a24;
/* rgb */ color: rgb(141, 138, 36);
/* oklch */ color: oklch(61.7% 0.119 107.7);
Tailwind
colors: {
  custom: {
    50: '#b2ab67',
    500: '#8d8a24',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a24;
$custom-light: #b2ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a24",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 58.286,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.6173,
    "c": 0.11945,
    "h": 107.7
  },
  "luminance": 0.23967
}

Semantic roles & 50–950 ramp

primary
#8D8A24
secondary
#5457B8
accent
#4AE345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8A24

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

Preview Lab → · Contrast checker → · Palette generator →

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