#8E8E1F#8E8E1F

#8E8E1F is a light, vivid yellow. Relative luminance 0.252; OKLCH L 62.7% C 0.126 H 109.5°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8E8E1F
RGBrgb(142, 142, 31)
HSLhsl(60, 64%, 34%)
HSVhsv(60, 78%, 56%)
CMYKcmyk(0%, 0%, 78.2%, 44.3%)
CIE-LABlab(57.27, -13.17, 54.47)
CIE-LCHlch(57.27, 56.04, 103.59°)
OKLaboklab(62.71% -0.0422 0.1189)
OKLCHoklch(62.71% 0.126 109.5)
XYZxyz(21.0764, 25.1964, 5.0492)
Luminance0.2520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8E1F #1F1F8E
analogous
#8E571F #8E8E1F #578E1F
triadic
#8E8E1F #1F8E8E #8E1F8E
tetradic
#8E8E1F #1F8E57 #1F1F8E #8E1F57
square
#8E8E1F #1F8E57 #1F1F8E #8E1F57
split-complementary
#8E8E1F #1F578E #571F8E
monochromatic
#2A2A09 #5C5C14 #8E8E1F #C0C02A #D9D94F

Accessibility & contrast

On white

3.48
#8E8E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#8E8E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8E1F
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8E1F#FFFFFF#000000##000000
##8E8E1F1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8801
Deuteranopia (green-blind)
#9B8B29
Tritanopia (blue-blind)
#998479
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8e8e1f;
/* rgb */ color: rgb(142, 142, 31);
/* oklch */ color: oklch(62.7% 0.126 109.5);
Tailwind
colors: {
  custom: {
    50: '#b3ae65',
    500: '#8e8e1f',
    950: '#000000',
  },
}
SCSS
$custom: #8e8e1f;
$custom-light: #b3ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8e1f",
  "rgb": {
    "r": 142,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 60,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.62709,
    "c": 0.1262,
    "h": 109.5
  },
  "luminance": 0.25196
}

Semantic roles & 50–950 ramp

primary
#8E8E1F
secondary
#4D4DBB
accent
#41E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E8E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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