#8EA01F#8EA01F

#8EA01F is a light, vivid yellow. Relative luminance 0.310; OKLCH L 66.9% C 0.146 H 117.8°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#8EA01F
RGBrgb(142, 160, 31)
HSLhsl(68, 68%, 37%)
HSVhsv(68, 81%, 63%)
CMYKcmyk(11.2%, 0%, 80.6%, 37.3%)
CIE-LABlab(62.50, -22.45, 59.17)
CIE-LCHlch(62.50, 63.29, 110.77°)
OKLaboklab(66.91% -0.0679 0.129)
OKLCHoklch(66.91% 0.146 117.8)
XYZxyz(23.9741, 30.9916, 6.0151)
Luminance0.3099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA01F #311FA0
analogous
#A0711F #8EA01F #4EA01F
triadic
#8EA01F #1F8EA0 #A01F8E
tetradic
#8EA01F #1FA071 #311FA0 #A01F4E
square
#8EA01F #1FA071 #311FA0 #A01F4E
split-complementary
#8EA01F #1F4EA0 #711FA0
monochromatic
#33390B #616D15 #8EA01F #BBD329 #CDDF5A

Accessibility & contrast

On white

2.92
#8EA01F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#8EA01F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA01F
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA01F#FFFFFF#000000##000000
##8EA01F1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#A9982C
Tritanopia (blue-blind)
#979789
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8ea01f;
/* rgb */ color: rgb(142, 160, 31);
/* oklch */ color: oklch(66.9% 0.146 117.8);
Tailwind
colors: {
  custom: {
    50: '#b3bc67',
    500: '#8ea01f',
    950: '#000000',
  },
}
SCSS
$custom: #8ea01f;
$custom-light: #b3bc67;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea01f",
  "rgb": {
    "r": 142,
    "g": 160,
    "b": 31
  },
  "hsl": {
    "h": 68.372,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.66907,
    "c": 0.14575,
    "h": 117.8
  },
  "luminance": 0.30991
}

Semantic roles & 50–950 ramp

primary
#8EA01F
secondary
#6758C3
accent
#3DEA56
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8EA01F

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

Preview Lab → · Contrast checker → · Palette generator →

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