#6FA821#6FA821

#6FA821 is a light, vivid yellow-green. Relative luminance 0.315; OKLCH L 66.7% C 0.169 H 130.7°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#6FA821
RGBrgb(111, 168, 33)
HSLhsl(85, 67%, 39%)
HSVhsv(85, 80%, 66%)
CMYKcmyk(33.9%, 0%, 80.4%, 34.1%)
CIE-LABlab(62.92, -38.72, 58.23)
CIE-LCHlch(62.92, 69.93, 123.62°)
OKLaboklab(66.74% -0.1102 0.1282)
OKLCHoklch(66.74% 0.169 130.7)
XYZxyz(20.8326, 31.4938, 6.4198)
Luminance0.3150 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FA821 #5A21A8
analogous
#A89E21 #6FA821 #2CA821
triadic
#6FA821 #216FA8 #A8216F
tetradic
#6FA821 #21A89E #5A21A8 #A8212C
square
#6FA821 #21A89E #5A21A8 #A8212C
split-complementary
#6FA821 #212CA8 #9E21A8
monochromatic
#2B420D #4D7517 #6FA821 #90D630 #ABE063

Accessibility & contrast

On white

2.88
#6FA821 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#6FA821 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6FA821
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6FA821#FFFFFF#000000##000000
##6FA8211.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#A89730
Tritanopia (blue-blind)
#72A18F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #6fa821;
/* rgb */ color: rgb(111, 168, 33);
/* oklch */ color: oklch(66.7% 0.169 130.7);
Tailwind
colors: {
  custom: {
    50: '#9dc269',
    500: '#6fa821',
    950: '#000000',
  },
}
SCSS
$custom: #6fa821;
$custom-light: #9dc269;
$custom-dark: #000000;
JSON
{
  "hex": "#6fa821",
  "rgb": {
    "r": 111,
    "g": 168,
    "b": 33
  },
  "hsl": {
    "h": 85.333,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66736,
    "c": 0.1691,
    "h": 130.7
  },
  "luminance": 0.31495
}

Semantic roles & 50–950 ramp

primary
#6FA821
secondary
#8A5FC5
accent
#3EEA86
background
#FAFBF6
surface
#F3F7EB
border
#CDD0C6
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #6FA821

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

Preview Lab → · Contrast checker → · Palette generator →

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