#6EA521#6EA521

#6EA521 is a light, vivid yellow-green. Relative luminance 0.303; OKLCH L 65.9% C 0.166 H 130.4°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#6EA521
RGBrgb(110, 165, 33)
HSLhsl(85, 67%, 39%)
HSVhsv(85, 80%, 65%)
CMYKcmyk(33.3%, 0%, 80%, 35.3%)
CIE-LABlab(61.94, -37.77, 57.31)
CIE-LCHlch(61.94, 68.64, 123.39°)
OKLaboklab(65.92% -0.1076 0.1263)
OKLCHoklch(65.92% 0.166 130.4)
XYZxyz(20.1599, 30.3344, 6.2315)
Luminance0.3034 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6EA521 #5821A5
analogous
#A59A21 #6EA521 #2CA521
triadic
#6EA521 #216EA5 #A5216E
tetradic
#6EA521 #21A59A #5821A5 #A5212C
square
#6EA521 #21A59A #5821A5 #A5212C
split-complementary
#6EA521 #212CA5 #9A21A5
monochromatic
#2A3F0D #4C7217 #6EA521 #90D52E #ABDF61

Accessibility & contrast

On white

2.97
#6EA521 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#6EA521 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6EA521
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6EA521#FFFFFF#000000##000000
##6EA5211.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#A59430
Tritanopia (blue-blind)
#719E8D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #6ea521;
/* rgb */ color: rgb(110, 165, 33);
/* oklch */ color: oklch(65.9% 0.166 130.4);
Tailwind
colors: {
  custom: {
    50: '#9cc068',
    500: '#6ea521',
    950: '#000000',
  },
}
SCSS
$custom: #6ea521;
$custom-light: #9cc068;
$custom-dark: #000000;
JSON
{
  "hex": "#6ea521",
  "rgb": {
    "r": 110,
    "g": 165,
    "b": 33
  },
  "hsl": {
    "h": 85,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65922,
    "c": 0.16594,
    "h": 130.4
  },
  "luminance": 0.30335
}

Semantic roles & 50–950 ramp

primary
#6EA521
secondary
#885EC4
accent
#3EEA86
background
#FAFBF6
surface
#F3F7EB
border
#CDD0C6
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #6EA521

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

Preview Lab → · Contrast checker → · Palette generator →

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