#8D8023#8D8023

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

Color values

HEX#8D8023
RGBrgb(141, 128, 35)
HSLhsl(53, 60%, 35%)
HSVhsv(53, 75%, 55%)
CMYKcmyk(0%, 9.2%, 75.2%, 44.7%)
CIE-LABlab(53.19, -5.85, 49.21)
CIE-LCHlch(53.19, 49.56, 96.78°)
OKLaboklab(59.45% -0.0213 0.1086)
OKLCHoklch(59.45% 0.111 101.1)
XYZxyz(19.0079, 21.2233, 4.6851)
Luminance0.2122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8023 #23308D
analogous
#8D4B23 #8D8023 #658D23
triadic
#8D8023 #238D80 #80238D
tetradic
#8D8023 #238D4B #23308D #8D2365
square
#8D8023 #238D4B #23308D #8D2365
split-complementary
#8D8023 #23658D #4B238D
monochromatic
#2B270B #5C5317 #8D8023 #BEAD2F #D5C555

Accessibility & contrast

On white

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

On black

5.24
#8D8023 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8023
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8023#FFFFFF#000000##000000
##8D80231.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C12
Deuteranopia (green-blind)
#908129
Tritanopia (blue-blind)
#98766E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8d8023;
/* rgb */ color: rgb(141, 128, 35);
/* oklch */ color: oklch(59.5% 0.111 101.1);
Tailwind
colors: {
  custom: {
    50: '#b2a465',
    500: '#8d8023',
    950: '#000000',
  },
}
SCSS
$custom: #8d8023;
$custom-light: #b2a465;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8023",
  "rgb": {
    "r": 141,
    "g": 128,
    "b": 35
  },
  "hsl": {
    "h": 52.642,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5945,
    "c": 0.11065,
    "h": 101.1
  },
  "luminance": 0.21222
}

Semantic roles & 50–950 ramp

primary
#8D8023
secondary
#535FB9
accent
#58E344
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8023

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

Preview Lab → · Contrast checker → · Palette generator →

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