#8E941F#8E941F

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

Color values

HEX#8E941F
RGBrgb(142, 148, 31)
HSLhsl(63, 65%, 35%)
HSVhsv(63, 79%, 58%)
CMYKcmyk(4.1%, 0%, 79.1%, 42%)
CIE-LABlab(59.00, -16.32, 56.04)
CIE-LCHlch(59.00, 58.37, 106.24°)
OKLaboklab(64.1% -0.051 0.1223)
OKLCHoklch(64.1% 0.132 112.6)
XYZxyz(21.9933, 27.0300, 5.3548)
Luminance0.2703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E941F #251F94
analogous
#94601F #8E941F #53941F
triadic
#8E941F #1F8E94 #941F8E
tetradic
#8E941F #1F9460 #251F94 #941F53
square
#8E941F #1F9460 #251F94 #941F53
split-complementary
#8E941F #1F5394 #601F94
monochromatic
#2D2F0A #5D6114 #8E941F #BFC72A #D4DB53

Accessibility & contrast

On white

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

On black

6.41
#8E941F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E941F
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E941F#FFFFFF#000000##000000
##8E941F1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e941f;
/* rgb */ color: rgb(142, 148, 31);
/* oklch */ color: oklch(64.1% 0.132 112.6);
Tailwind
colors: {
  custom: {
    50: '#b3b366',
    500: '#8e941f',
    950: '#000000',
  },
}
SCSS
$custom: #8e941f;
$custom-light: #b3b366;
$custom-dark: #000000;
JSON
{
  "hex": "#8e941f",
  "rgb": {
    "r": 142,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 63.077,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.64098,
    "c": 0.13249,
    "h": 112.6
  },
  "luminance": 0.2703
}

Semantic roles & 50–950 ramp

primary
#8E941F
secondary
#5651BE
accent
#3FE848
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111106
muted
#80807A

Preview Lab

Preview with #8E941F

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

Preview Lab → · Contrast checker → · Palette generator →

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