#8E8F15#8E8F15

#8E8F15 is a light, vivid yellow. Relative luminance 0.255; OKLCH L 62.9% C 0.132 H 110.2°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8E8F15
RGBrgb(142, 143, 21)
HSLhsl(60, 74%, 32%)
HSVhsv(60, 85%, 56%)
CMYKcmyk(0.7%, 0%, 85.3%, 43.9%)
CIE-LABlab(57.51, -14.04, 57.55)
CIE-LCHlch(57.51, 59.24, 103.71°)
OKLaboklab(62.89% -0.0454 0.1237)
OKLCHoklch(62.89% 0.132 110.2)
XYZxyz(21.1140, 25.4505, 4.5095)
Luminance0.2545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8F15 #16158F
analogous
#8F5315 #8E8F15 #518F15
triadic
#8E8F15 #158E8F #8F158E
tetradic
#8E8F15 #158F53 #16158F #8F1551
square
#8E8F15 #158F53 #16158F #8F1551
split-complementary
#8E8F15 #15518F #53158F
monochromatic
#242405 #595A0D #8E8F15 #C3C41D #E1E23C

Accessibility & contrast

On white

3.45
#8E8F15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#8E8F15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8F15
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8F15#FFFFFF#000000##000000
##8E8F151.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e8f15;
/* rgb */ color: rgb(142, 143, 21);
/* oklch */ color: oklch(62.9% 0.132 110.2);
Tailwind
colors: {
  custom: {
    50: '#b3af61',
    500: '#8e8f15',
    950: '#000000',
  },
}
SCSS
$custom: #8e8f15;
$custom-light: #b3af61;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8f15",
  "rgb": {
    "r": 142,
    "g": 143,
    "b": 21
  },
  "hsl": {
    "h": 60.492,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.62892,
    "c": 0.13176,
    "h": 110.2
  },
  "luminance": 0.2545
}

Semantic roles & 50–950 ramp

primary
#8E8F15
secondary
#3F3EC2
accent
#37F138
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E8F15

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

Preview Lab → · Contrast checker → · Palette generator →

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