#8E941E#8E941E

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

Color values

HEX#8E941E
RGBrgb(142, 148, 30)
HSLhsl(63, 66%, 35%)
HSVhsv(63, 80%, 58%)
CMYKcmyk(4.1%, 0%, 79.7%, 42%)
CIE-LABlab(59.00, -16.36, 56.34)
CIE-LCHlch(59.00, 58.67, 106.19°)
OKLaboklab(64.09% -0.0512 0.1227)
OKLCHoklch(64.09% 0.133 112.6)
XYZxyz(21.9803, 27.0249, 5.2865)
Luminance0.2702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E941E #241E94
analogous
#945F1E #8E941E #53941E
triadic
#8E941E #1E8E94 #941E8E
tetradic
#8E941E #1E945F #241E94 #941E53
square
#8E941E #1E945F #241E94 #941E53
split-complementary
#8E941E #1E5394 #5F1E94
monochromatic
#2C2E09 #5D6114 #8E941E #BFC728 #D5DC51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E941E#FFFFFF#000000##000000
##8E941E1.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)
#A08F29
Tritanopia (blue-blind)
#988B7E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8e941e;
/* rgb */ color: rgb(142, 148, 30);
/* oklch */ color: oklch(64.1% 0.133 112.6);
Tailwind
colors: {
  custom: {
    50: '#b3b365',
    500: '#8e941e',
    950: '#000000',
  },
}
SCSS
$custom: #8e941e;
$custom-light: #b3b365;
$custom-dark: #000000;
JSON
{
  "hex": "#8e941e",
  "rgb": {
    "r": 142,
    "g": 148,
    "b": 30
  },
  "hsl": {
    "h": 63.051,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.64093,
    "c": 0.13298,
    "h": 112.6
  },
  "luminance": 0.27024
}

Semantic roles & 50–950 ramp

primary
#8E941E
secondary
#554FBF
accent
#3FE947
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111106
muted
#80807A

Preview Lab

Preview with #8E941E

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

Preview Lab → · Contrast checker → · Palette generator →

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