#6E9C21#6E9C21

#6E9C21 is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.7% C 0.155 H 128.6°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#6E9C21
RGBrgb(110, 156, 33)
HSLhsl(82, 65%, 37%)
HSVhsv(82, 79%, 61%)
CMYKcmyk(29.5%, 0%, 78.8%, 38.8%)
CIE-LABlab(59.16, -33.71, 54.73)
CIE-LCHlch(59.16, 64.28, 121.63°)
OKLaboklab(63.66% -0.0967 0.1209)
OKLCHoklch(63.66% 0.155 128.6)
XYZxyz(18.5934, 27.2012, 5.7093)
Luminance0.2720 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E9C21 #4F219C
analogous
#9C8D21 #6E9C21 #319C21
triadic
#6E9C21 #216E9C #9C216E
tetradic
#6E9C21 #219C8D #4F219C #9C2131
square
#6E9C21 #219C8D #4F219C #9C2131
split-complementary
#6E9C21 #21319C #8D219C
monochromatic
#27370C #4A6916 #6E9C21 #92CF2C #ACDC5B

Accessibility & contrast

On white

3.26
#6E9C21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#6E9C21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E9C21
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E9C21#FFFFFF#000000##000000
##6E9C211.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#9E8D2E
Tritanopia (blue-blind)
#729585
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6e9c21;
/* rgb */ color: rgb(110, 156, 33);
/* oklch */ color: oklch(63.7% 0.155 128.6);
Tailwind
colors: {
  custom: {
    50: '#9cb967',
    500: '#6e9c21',
    950: '#000000',
  },
}
SCSS
$custom: #6e9c21;
$custom-light: #9cb967;
$custom-dark: #000000;
JSON
{
  "hex": "#6e9c21",
  "rgb": {
    "r": 110,
    "g": 156,
    "b": 33
  },
  "hsl": {
    "h": 82.439,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63656,
    "c": 0.15477,
    "h": 128.6
  },
  "luminance": 0.27202
}

Semantic roles & 50–950 ramp

primary
#6E9C21
secondary
#7F58C1
accent
#40E87F
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0F1106
muted
#7E807A

Preview Lab

Preview with #6E9C21

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

Preview Lab → · Contrast checker → · Palette generator →

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