#8EA223#8EA223

#8EA223 is a light, vivid yellow. Relative luminance 0.317; OKLCH L 67.4% C 0.146 H 118.6°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8EA223
RGBrgb(142, 162, 35)
HSLhsl(69, 64%, 39%)
HSVhsv(69, 78%, 64%)
CMYKcmyk(12.3%, 0%, 78.4%, 36.5%)
CIE-LABlab(63.10, -23.28, 58.52)
CIE-LCHlch(63.10, 62.98, 111.70°)
OKLaboklab(67.4% -0.0699 0.1283)
OKLCHoklch(67.4% 0.146 118.6)
XYZxyz(24.3796, 31.7130, 6.4267)
Luminance0.3171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA223 #3723A2
analogous
#A27623 #8EA223 #4EA223
triadic
#8EA223 #238EA2 #A2238E
tetradic
#8EA223 #23A276 #3723A2 #A2234E
square
#8EA223 #23A276 #3723A2 #A2234E
split-complementary
#8EA223 #234EA2 #7623A2
monochromatic
#363D0D #627018 #8EA223 #B9D230 #CADD62

Accessibility & contrast

On white

2.86
#8EA223 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#8EA223 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA223
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA223#FFFFFF#000000##000000
##8EA2231.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9900
Deuteranopia (green-blind)
#AB992F
Tritanopia (blue-blind)
#97998B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8ea223;
/* rgb */ color: rgb(142, 162, 35);
/* oklch */ color: oklch(67.4% 0.146 118.6);
Tailwind
colors: {
  custom: {
    50: '#b3bd69',
    500: '#8ea223',
    950: '#000000',
  },
}
SCSS
$custom: #8ea223;
$custom-light: #b3bd69;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea223",
  "rgb": {
    "r": 142,
    "g": 162,
    "b": 35
  },
  "hsl": {
    "h": 69.449,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.67399,
    "c": 0.14607,
    "h": 118.6
  },
  "luminance": 0.31713
}

Semantic roles & 50–950 ramp

primary
#8EA223
secondary
#6E5EC2
accent
#40E75B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8EA223

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

Preview Lab → · Contrast checker → · Palette generator →

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