#6E9821#6E9821

#6E9821 is a light, vivid yellow-green. Relative luminance 0.259; OKLCH L 62.7% C 0.150 H 127.7°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#6E9821
RGBrgb(110, 152, 33)
HSLhsl(81, 64%, 36%)
HSVhsv(81, 78%, 60%)
CMYKcmyk(27.6%, 0%, 78.3%, 40.4%)
CIE-LABlab(57.92, -31.86, 53.57)
CIE-LCHlch(57.92, 62.33, 120.74°)
OKLaboklab(62.65% -0.0916 0.1184)
OKLCHoklch(62.65% 0.15 127.7)
XYZxyz(17.9332, 25.8809, 5.4892)
Luminance0.2588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E9821 #4B2198
analogous
#988721 #6E9821 #339821
triadic
#6E9821 #216E98 #98216E
tetradic
#6E9821 #219887 #4B2198 #982133
square
#6E9821 #219887 #4B2198 #982133
split-complementary
#6E9821 #213398 #872198
monochromatic
#25330B #4A6616 #6E9821 #92CA2C #ADDB59

Accessibility & contrast

On white

3.40
#6E9821 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#6E9821 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E9821
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E9821#FFFFFF#000000##000000
##6E98211.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D01
Deuteranopia (green-blind)
#9A8A2D
Tritanopia (blue-blind)
#729182
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #6e9821;
/* rgb */ color: rgb(110, 152, 33);
/* oklch */ color: oklch(62.7% 0.150 127.7);
Tailwind
colors: {
  custom: {
    50: '#9cb666',
    500: '#6e9821',
    950: '#000000',
  },
}
SCSS
$custom: #6e9821;
$custom-light: #9cb666;
$custom-dark: #000000;
JSON
{
  "hex": "#6e9821",
  "rgb": {
    "r": 110,
    "g": 152,
    "b": 33
  },
  "hsl": {
    "h": 81.176,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62651,
    "c": 0.14975,
    "h": 127.7
  },
  "luminance": 0.25881
}

Semantic roles & 50–950 ramp

primary
#6E9821
secondary
#7B56BF
accent
#40E77B
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0F1106
muted
#7E807A

Preview Lab

Preview with #6E9821

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

Preview Lab → · Contrast checker → · Palette generator →

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