#8D8024#8D8024

#8D8024 is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.5% C 0.110 H 101.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8D8024
RGBrgb(141, 128, 36)
HSLhsl(53, 59%, 35%)
HSVhsv(53, 74%, 55%)
CMYKcmyk(0%, 9.2%, 74.5%, 44.7%)
CIE-LABlab(53.20, -5.80, 48.83)
CIE-LCHlch(53.20, 49.18, 96.78°)
OKLaboklab(59.46% -0.021 0.108)
OKLCHoklch(59.46% 0.11 101)
XYZxyz(19.0230, 21.2293, 4.7644)
Luminance0.2123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8024 #24318D
analogous
#8D4B24 #8D8024 #668D24
triadic
#8D8024 #248D80 #80248D
tetradic
#8D8024 #248D4B #24318D #8D2466
square
#8D8024 #248D4B #24318D #8D2466
split-complementary
#8D8024 #24668D #4B248D
monochromatic
#2B270B #5C5418 #8D8024 #BEAC30 #D4C557

Accessibility & contrast

On white

4.00
#8D8024 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#8D8024 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8024
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8024#FFFFFF#000000##000000
##8D80241.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C14
Deuteranopia (green-blind)
#90812A
Tritanopia (blue-blind)
#98766E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8d8024;
/* rgb */ color: rgb(141, 128, 36);
/* oklch */ color: oklch(59.5% 0.110 101.0);
Tailwind
colors: {
  custom: {
    50: '#b2a466',
    500: '#8d8024',
    950: '#000000',
  },
}
SCSS
$custom: #8d8024;
$custom-light: #b2a466;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8024",
  "rgb": {
    "r": 141,
    "g": 128,
    "b": 36
  },
  "hsl": {
    "h": 52.571,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59457,
    "c": 0.11001,
    "h": 101
  },
  "luminance": 0.21228
}

Semantic roles & 50–950 ramp

primary
#8D8024
secondary
#5461B8
accent
#59E345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8024

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

Preview Lab → · Contrast checker → · Palette generator →

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