#8D8D1C#8D8D1C

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

Color values

HEX#8D8D1C
RGBrgb(141, 141, 28)
HSLhsl(60, 67%, 33%)
HSVhsv(60, 80%, 55%)
CMYKcmyk(0%, 0%, 80.1%, 44.7%)
CIE-LABlab(56.88, -13.20, 55.03)
CIE-LCHlch(56.88, 56.59, 103.49°)
OKLaboklab(62.37% -0.0425 0.1196)
OKLCHoklch(62.37% 0.127 109.6)
XYZxyz(20.7198, 24.7970, 4.7932)
Luminance0.2480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8D1C #1C1C8D
analogous
#8D541C #8D8D1C #548D1C
triadic
#8D8D1C #1C8D8D #8D1C8D
tetradic
#8D8D1C #1C8D54 #1C1C8D #8D1C54
square
#8D8D1C #1C8D54 #1C1C8D #8D1C54
split-complementary
#8D8D1C #1C548D #541C8D
monochromatic
#272708 #5A5A12 #8D8D1C #C0C026 #DBDB49

Accessibility & contrast

On white

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

On black

5.96
#8D8D1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8D1C
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8D1C#FFFFFF#000000##000000
##8D8D1C1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#9A8A26
Tritanopia (blue-blind)
#988378
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8d8d1c;
/* rgb */ color: rgb(141, 141, 28);
/* oklch */ color: oklch(62.4% 0.127 109.6);
Tailwind
colors: {
  custom: {
    50: '#b2ae63',
    500: '#8d8d1c',
    950: '#000000',
  },
}
SCSS
$custom: #8d8d1c;
$custom-light: #b2ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8d1c",
  "rgb": {
    "r": 141,
    "g": 141,
    "b": 28
  },
  "hsl": {
    "h": 60,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.62373,
    "c": 0.12694,
    "h": 109.6
  },
  "luminance": 0.24796
}

Semantic roles & 50–950 ramp

primary
#8D8D1C
secondary
#4848BD
accent
#3EEA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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