#8EA123#8EA123

#8EA123 is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.2% C 0.145 H 118.2°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8EA123
RGBrgb(142, 161, 35)
HSLhsl(69, 64%, 38%)
HSVhsv(69, 78%, 63%)
CMYKcmyk(11.8%, 0%, 78.3%, 36.9%)
CIE-LABlab(62.81, -22.78, 58.25)
CIE-LCHlch(62.81, 62.55, 111.36°)
OKLaboklab(67.16% -0.0685 0.1277)
OKLCHoklch(67.16% 0.145 118.2)
XYZxyz(24.2041, 31.3621, 6.3682)
Luminance0.3136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA123 #3623A1
analogous
#A17523 #8EA123 #4FA123
triadic
#8EA123 #238EA1 #A1238E
tetradic
#8EA123 #23A175 #3623A1 #A1234F
square
#8EA123 #23A175 #3623A1 #A1234F
split-complementary
#8EA123 #234FA1 #7523A1
monochromatic
#353C0D #626F18 #8EA123 #B9D22F #CADD62

Accessibility & contrast

On white

2.89
#8EA123 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#8EA123 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA123
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA123#FFFFFF#000000##000000
##8EA1231.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#AA982F
Tritanopia (blue-blind)
#97988A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ea123;
/* rgb */ color: rgb(142, 161, 35);
/* oklch */ color: oklch(67.2% 0.145 118.2);
Tailwind
colors: {
  custom: {
    50: '#b3bc69',
    500: '#8ea123',
    950: '#000000',
  },
}
SCSS
$custom: #8ea123;
$custom-light: #b3bc69;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea123",
  "rgb": {
    "r": 142,
    "g": 161,
    "b": 35
  },
  "hsl": {
    "h": 69.048,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.67164,
    "c": 0.14492,
    "h": 118.2
  },
  "luminance": 0.31362
}

Semantic roles & 50–950 ramp

primary
#8EA123
secondary
#6D5EC2
accent
#41E75A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8EA123

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

Preview Lab → · Contrast checker → · Palette generator →

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