#8D8E18#8D8E18

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

Color values

HEX#8D8E18
RGBrgb(141, 142, 24)
HSLhsl(61, 71%, 33%)
HSVhsv(61, 83%, 56%)
CMYKcmyk(0.7%, 0%, 83.1%, 44.3%)
CIE-LABlab(57.15, -13.88, 56.43)
CIE-LCHlch(57.15, 58.11, 103.82°)
OKLaboklab(62.58% -0.0447 0.1218)
OKLCHoklch(62.58% 0.13 110.2)
XYZxyz(20.8232, 25.0753, 4.6071)
Luminance0.2507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8E18 #19188E
analogous
#8E5418 #8D8E18 #528E18
triadic
#8D8E18 #188D8E #8E188D
tetradic
#8D8E18 #188E54 #19188E #8E1852
square
#8D8E18 #188E54 #19188E #8E1852
split-complementary
#8D8E18 #18528E #54188E
monochromatic
#252506 #595A0F #8D8E18 #C1C221 #DEDF41

Accessibility & contrast

On white

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

On black

6.01
#8D8E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8E18
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8E18#FFFFFF#000000##000000
##8D8E181.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#9B8B24
Tritanopia (blue-blind)
#988479
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8d8e18;
/* rgb */ color: rgb(141, 142, 24);
/* oklch */ color: oklch(62.6% 0.130 110.2);
Tailwind
colors: {
  custom: {
    50: '#b2ae62',
    500: '#8d8e18',
    950: '#000000',
  },
}
SCSS
$custom: #8d8e18;
$custom-light: #b2ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8e18",
  "rgb": {
    "r": 141,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 60.508,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.62584,
    "c": 0.12978,
    "h": 110.2
  },
  "luminance": 0.25075
}

Semantic roles & 50–950 ramp

primary
#8D8E18
secondary
#4342C0
accent
#3AEE3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8E18

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

Preview Lab → · Contrast checker → · Palette generator →

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