#6EB228#6EB228

#6EB228 is a light, vivid yellow-green. Relative luminance 0.353; OKLCH L 69.2% C 0.178 H 132.9°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#6EB228
RGBrgb(110, 178, 40)
HSLhsl(90, 63%, 43%)
HSVhsv(90, 78%, 70%)
CMYKcmyk(38.2%, 0%, 77.5%, 30.2%)
CIE-LABlab(65.99, -43.03, 58.92)
CIE-LCHlch(65.99, 72.96, 126.14°)
OKLaboklab(69.24% -0.1214 0.1308)
OKLCHoklch(69.24% 0.178 132.9)
XYZxyz(22.7335, 35.3079, 7.6244)
Luminance0.3531 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6EB228 #6C28B2
analogous
#B2B128 #6EB228 #29B228
triadic
#6EB228 #286EB2 #B2286E
tetradic
#6EB228 #28B2B1 #6C28B2 #B22829
square
#6EB228 #28B2B1 #6C28B2 #B22829
split-complementary
#6EB228 #2829B2 #B128B2
monochromatic
#304E12 #4F801D #6EB228 #8DD543 #ABE075

Accessibility & contrast

On white

2.60
#6EB228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#6EB228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6EB228
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6EB228#FFFFFF#000000##000000
##6EB2281.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A401
Deuteranopia (green-blind)
#B09E37
Tritanopia (blue-blind)
#6FAB98
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #6eb228;
/* rgb */ color: rgb(110, 178, 40);
/* oklch */ color: oklch(69.2% 0.178 132.9);
Tailwind
colors: {
  custom: {
    50: '#9dc96d',
    500: '#6eb228',
    950: '#000000',
  },
}
SCSS
$custom: #6eb228;
$custom-light: #9dc96d;
$custom-dark: #000000;
JSON
{
  "hex": "#6eb228",
  "rgb": {
    "r": 110,
    "g": 178,
    "b": 40
  },
  "hsl": {
    "h": 89.565,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.69238,
    "c": 0.17841,
    "h": 132.9
  },
  "luminance": 0.35309
}

Semantic roles & 50–950 ramp

primary
#6EB228
secondary
#9A6FC7
accent
#41E693
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#0F1308
muted
#7F827B

Preview Lab

Preview with #6EB228

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

Preview Lab → · Contrast checker → · Palette generator →

#6EB228 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva