#6D9821#6D9821

#6D9821 is a light, vivid yellow-green. Relative luminance 0.258; OKLCH L 62.6% C 0.150 H 128.1°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#6D9821
RGBrgb(109, 152, 33)
HSLhsl(82, 64%, 36%)
HSVhsv(82, 78%, 60%)
CMYKcmyk(28.3%, 0%, 78.3%, 40.4%)
CIE-LABlab(57.86, -32.26, 53.49)
CIE-LCHlch(57.86, 62.47, 121.09°)
OKLaboklab(62.59% -0.0927 0.1183)
OKLCHoklch(62.59% 0.15 128.1)
XYZxyz(17.8094, 25.8171, 5.4834)
Luminance0.2582 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D9821 #4C2198
analogous
#988821 #6D9821 #329821
triadic
#6D9821 #216D98 #98216D
tetradic
#6D9821 #219888 #4C2198 #982132
square
#6D9821 #219888 #4C2198 #982132
split-complementary
#6D9821 #213298 #882198
monochromatic
#25330B #496616 #6D9821 #91CA2C #ACDB59

Accessibility & contrast

On white

3.41
#6D9821 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#6D9821 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D9821
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D9821#FFFFFF#000000##000000
##6D98211.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d9821;
/* rgb */ color: rgb(109, 152, 33);
/* oklch */ color: oklch(62.6% 0.150 128.1);
Tailwind
colors: {
  custom: {
    50: '#9bb666',
    500: '#6d9821',
    950: '#000000',
  },
}
SCSS
$custom: #6d9821;
$custom-light: #9bb666;
$custom-dark: #000000;
JSON
{
  "hex": "#6d9821",
  "rgb": {
    "r": 109,
    "g": 152,
    "b": 33
  },
  "hsl": {
    "h": 81.681,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62586,
    "c": 0.15027,
    "h": 128.1
  },
  "luminance": 0.25817
}

Semantic roles & 50–950 ramp

primary
#6D9821
secondary
#7C56BF
accent
#40E77D
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6D9821

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

Preview Lab → · Contrast checker → · Palette generator →

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