#8E8F12#8E8F12

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

Color values

HEX#8E8F12
RGBrgb(142, 143, 18)
HSLhsl(60, 78%, 32%)
HSVhsv(60, 87%, 56%)
CMYKcmyk(0.7%, 0%, 87.4%, 43.9%)
CIE-LABlab(57.50, -14.13, 58.24)
CIE-LCHlch(57.50, 59.93, 103.63°)
OKLaboklab(62.88% -0.0458 0.1247)
OKLCHoklch(62.88% 0.133 110.2)
XYZxyz(21.0878, 25.4400, 4.3717)
Luminance0.2544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8F12 #13128F
analogous
#8F5212 #8E8F12 #508F12
triadic
#8E8F12 #128E8F #8F128E
tetradic
#8E8F12 #128F52 #13128F #8F1250
square
#8E8F12 #128F52 #13128F #8F1250
split-complementary
#8E8F12 #12508F #52128F
monochromatic
#222204 #58590B #8E8F12 #C4C519 #E4E636

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E8F12#FFFFFF#000000##000000
##8E8F121.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)
#9C8C20
Tritanopia (blue-blind)
#99857A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8e8f12;
/* rgb */ color: rgb(142, 143, 18);
/* oklch */ color: oklch(62.9% 0.133 110.2);
Tailwind
colors: {
  custom: {
    50: '#b3af60',
    500: '#8e8f12',
    950: '#000000',
  },
}
SCSS
$custom: #8e8f12;
$custom-light: #b3af60;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8f12",
  "rgb": {
    "r": 142,
    "g": 143,
    "b": 18
  },
  "hsl": {
    "h": 60.48,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.6288,
    "c": 0.13284,
    "h": 110.2
  },
  "luminance": 0.25439
}

Semantic roles & 50–950 ramp

primary
#8E8F12
secondary
#3B3AC3
accent
#34F435
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8E8F12

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

Preview Lab → · Contrast checker → · Palette generator →

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