#8D8E1C#8D8E1C

#8D8E1C is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.6% C 0.128 H 110.1°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8D8E1C
RGBrgb(141, 142, 28)
HSLhsl(61, 67%, 33%)
HSVhsv(61, 80%, 56%)
CMYKcmyk(0.7%, 0%, 80.3%, 44.3%)
CIE-LABlab(57.17, -13.73, 55.29)
CIE-LCHlch(57.17, 56.97, 103.95°)
OKLaboklab(62.6% -0.044 0.1202)
OKLCHoklch(62.6% 0.128 110.1)
XYZxyz(20.8679, 25.0932, 4.8426)
Luminance0.2509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8E1C #1D1C8E
analogous
#8E561C #8D8E1C #548E1C
triadic
#8D8E1C #1C8D8E #8E1C8D
tetradic
#8D8E1C #1C8E56 #1D1C8E #8E1C54
square
#8D8E1C #1C8E56 #1D1C8E #8E1C54
split-complementary
#8D8E1C #1C548E #561C8E
monochromatic
#272808 #5A5B12 #8D8E1C #C0C126 #DADB49

Accessibility & contrast

On white

3.49
#8D8E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#8D8E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8E1C
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8E1C#FFFFFF#000000##000000
##8D8E1C1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#9B8B26
Tritanopia (blue-blind)
#978479
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8d8e1c;
/* rgb */ color: rgb(141, 142, 28);
/* oklch */ color: oklch(62.6% 0.128 110.1);
Tailwind
colors: {
  custom: {
    50: '#b2ae64',
    500: '#8d8e1c',
    950: '#000000',
  },
}
SCSS
$custom: #8d8e1c;
$custom-light: #b2ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8e1c",
  "rgb": {
    "r": 141,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 60.526,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.62604,
    "c": 0.12796,
    "h": 110.1
  },
  "luminance": 0.25093
}

Semantic roles & 50–950 ramp

primary
#8D8E1C
secondary
#4A49BD
accent
#3EEA3F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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