#8D8D23#8D8D23

#8D8D23 is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.4% C 0.123 H 109.5°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8D8D23
RGBrgb(141, 141, 35)
HSLhsl(60, 60%, 35%)
HSVhsv(60, 75%, 55%)
CMYKcmyk(0%, 0%, 75.2%, 44.7%)
CIE-LABlab(56.91, -12.91, 52.75)
CIE-LCHlch(56.91, 54.31, 103.75°)
OKLaboklab(62.41% -0.0411 0.1161)
OKLCHoklch(62.41% 0.123 109.5)
XYZxyz(20.8135, 24.8344, 5.2869)
Luminance0.2483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8D23 #23238D
analogous
#8D5823 #8D8D23 #588D23
triadic
#8D8D23 #238D8D #8D238D
tetradic
#8D8D23 #238D58 #23238D #8D2358
square
#8D8D23 #238D58 #23238D #8D2358
split-complementary
#8D8D23 #23588D #58238D
monochromatic
#2B2B0B #5C5C17 #8D8D23 #BEBE2F #D5D555

Accessibility & contrast

On white

3.52
#8D8D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#8D8D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8D23
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8D23#FFFFFF#000000##000000
##8D8D231.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#99870C
Deuteranopia (green-blind)
#9A8A2B
Tritanopia (blue-blind)
#978479
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8d8d23;
/* rgb */ color: rgb(141, 141, 35);
/* oklch */ color: oklch(62.4% 0.123 109.5);
Tailwind
colors: {
  custom: {
    50: '#b2ae67',
    500: '#8d8d23',
    950: '#000000',
  },
}
SCSS
$custom: #8d8d23;
$custom-light: #b2ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8d23",
  "rgb": {
    "r": 141,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 60,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.62414,
    "c": 0.12314,
    "h": 109.5
  },
  "luminance": 0.24834
}

Semantic roles & 50–950 ramp

primary
#8D8D23
secondary
#5353B9
accent
#44E344
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8D23

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

Preview Lab → · Contrast checker → · Palette generator →

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