#8E941C#8E941C

#8E941C is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.1% C 0.134 H 112.6°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8E941C
RGBrgb(142, 148, 28)
HSLhsl(63, 68%, 35%)
HSVhsv(63, 81%, 58%)
CMYKcmyk(4.1%, 0%, 81.1%, 42%)
CIE-LABlab(58.99, -16.44, 56.93)
CIE-LCHlch(58.99, 59.26, 106.10°)
OKLaboklab(64.08% -0.0515 0.1236)
OKLCHoklch(64.08% 0.134 112.6)
XYZxyz(21.9556, 27.0150, 5.1562)
Luminance0.2701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E941C #221C94
analogous
#945E1C #8E941C #52941C
triadic
#8E941C #1C8E94 #941C8E
tetradic
#8E941C #1C945E #221C94 #941C52
square
#8E941C #1C945E #221C94 #941C52
split-complementary
#8E941C #1C5294 #5E1C94
monochromatic
#2B2D09 #5D6112 #8E941C #BFC726 #D6DD4D

Accessibility & contrast

On white

3.28
#8E941C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#8E941C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E941C
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E941C#FFFFFF#000000##000000
##8E941C1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#A08F28
Tritanopia (blue-blind)
#988A7E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8e941c;
/* rgb */ color: rgb(142, 148, 28);
/* oklch */ color: oklch(64.1% 0.134 112.6);
Tailwind
colors: {
  custom: {
    50: '#b3b364',
    500: '#8e941c',
    950: '#000000',
  },
}
SCSS
$custom: #8e941c;
$custom-light: #b3b364;
$custom-dark: #000000;
JSON
{
  "hex": "#8e941c",
  "rgb": {
    "r": 142,
    "g": 148,
    "b": 28
  },
  "hsl": {
    "h": 63,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.64082,
    "c": 0.13395,
    "h": 112.6
  },
  "luminance": 0.27014
}

Semantic roles & 50–950 ramp

primary
#8E941C
secondary
#524CC0
accent
#3DEB45
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111106
muted
#80807A

Preview Lab

Preview with #8E941C

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

Preview Lab → · Contrast checker → · Palette generator →

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