#8D8F15#8D8F15

#8D8F15 is a light, vivid yellow. Relative luminance 0.254; OKLCH L 62.8% C 0.132 H 110.7°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8D8F15
RGBrgb(141, 143, 21)
HSLhsl(61, 74%, 32%)
HSVhsv(61, 85%, 56%)
CMYKcmyk(1.4%, 0%, 85.3%, 43.9%)
CIE-LABlab(57.43, -14.50, 57.44)
CIE-LCHlch(57.43, 59.24, 104.16°)
OKLaboklab(62.8% -0.0466 0.1235)
OKLCHoklch(62.8% 0.132 110.7)
XYZxyz(20.9431, 25.3624, 4.5015)
Luminance0.2536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8F15 #17158F
analogous
#8F5415 #8D8F15 #508F15
triadic
#8D8F15 #158D8F #8F158D
tetradic
#8D8F15 #158F54 #17158F #8F1550
square
#8D8F15 #158F54 #17158F #8F1550
split-complementary
#8D8F15 #15508F #54158F
monochromatic
#242405 #585A0D #8D8F15 #C2C41D #E0E23C

Accessibility & contrast

On white

3.46
#8D8F15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#8D8F15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8F15
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8F15#FFFFFF#000000##000000
##8D8F151.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#9C8B22
Tritanopia (blue-blind)
#98857A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8d8f15;
/* rgb */ color: rgb(141, 143, 21);
/* oklch */ color: oklch(62.8% 0.132 110.7);
Tailwind
colors: {
  custom: {
    50: '#b2af61',
    500: '#8d8f15',
    950: '#000000',
  },
}
SCSS
$custom: #8d8f15;
$custom-light: #b2af61;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8f15",
  "rgb": {
    "r": 141,
    "g": 143,
    "b": 21
  },
  "hsl": {
    "h": 60.984,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.62803,
    "c": 0.13201,
    "h": 110.7
  },
  "luminance": 0.25362
}

Semantic roles & 50–950 ramp

primary
#8D8F15
secondary
#403EC2
accent
#37F13A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8F15

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

Preview Lab → · Contrast checker → · Palette generator →

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