#6FA021#6FA021

#6FA021 is a light, vivid yellow-green. Relative luminance 0.286; OKLCH L 64.7% C 0.159 H 129.2°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#6FA021
RGBrgb(111, 160, 33)
HSLhsl(83, 66%, 38%)
HSVhsv(83, 79%, 63%)
CMYKcmyk(30.6%, 0%, 79.4%, 37.3%)
CIE-LABlab(60.45, -35.15, 55.95)
CIE-LCHlch(60.45, 66.08, 122.14°)
OKLaboklab(64.72% -0.1006 0.1234)
OKLCHoklch(64.72% 0.159 129.2)
XYZxyz(19.4008, 28.6304, 5.9426)
Luminance0.2863 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FA021 #5221A0
analogous
#A09221 #6FA021 #2FA021
triadic
#6FA021 #216FA0 #A0216F
tetradic
#6FA021 #21A092 #5221A0 #A0212F
square
#6FA021 #21A092 #5221A0 #A0212F
split-complementary
#6FA021 #212FA0 #9221A0
monochromatic
#293B0C #4C6D17 #6FA021 #92D32B #ACDE5E

Accessibility & contrast

On white

3.12
#6FA021 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#6FA021 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6FA021
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6FA021#FFFFFF#000000##000000
##6FA0211.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A1912F
Tritanopia (blue-blind)
#739989
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #6fa021;
/* rgb */ color: rgb(111, 160, 33);
/* oklch */ color: oklch(64.7% 0.159 129.2);
Tailwind
colors: {
  custom: {
    50: '#9dbc68',
    500: '#6fa021',
    950: '#000000',
  },
}
SCSS
$custom: #6fa021;
$custom-light: #9dbc68;
$custom-dark: #000000;
JSON
{
  "hex": "#6fa021",
  "rgb": {
    "r": 111,
    "g": 160,
    "b": 33
  },
  "hsl": {
    "h": 83.15,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.64725,
    "c": 0.15923,
    "h": 129.2
  },
  "luminance": 0.28631
}

Semantic roles & 50–950 ramp

primary
#6FA021
secondary
#835BC2
accent
#3FE981
background
#FAFBF6
surface
#F3F6EB
border
#CDD0C6
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #6FA021

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

Preview Lab → · Contrast checker → · Palette generator →

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