#6FA521#6FA521

#6FA521 is a light, vivid yellow-green. Relative luminance 0.304; OKLCH L 66.0% C 0.165 H 130.2°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#6FA521
RGBrgb(111, 165, 33)
HSLhsl(85, 67%, 39%)
HSVhsv(85, 80%, 65%)
CMYKcmyk(32.7%, 0%, 80%, 35.3%)
CIE-LABlab(62.00, -37.39, 57.38)
CIE-LCHlch(62.00, 68.49, 123.09°)
OKLaboklab(65.98% -0.1067 0.1264)
OKLCHoklch(65.98% 0.165 130.2)
XYZxyz(20.2851, 30.3989, 6.2373)
Luminance0.3040 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FA521 #5721A5
analogous
#A59921 #6FA521 #2DA521
triadic
#6FA521 #216FA5 #A5216F
tetradic
#6FA521 #21A599 #5721A5 #A5212D
square
#6FA521 #21A599 #5721A5 #A5212D
split-complementary
#6FA521 #212DA5 #9921A5
monochromatic
#2A3F0D #4D7217 #6FA521 #91D52E #ACDF61

Accessibility & contrast

On white

2.97
#6FA521 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#6FA521 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6FA521
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6FA521#FFFFFF#000000##000000
##6FA5211.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#A59430
Tritanopia (blue-blind)
#729E8D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #6fa521;
/* rgb */ color: rgb(111, 165, 33);
/* oklch */ color: oklch(66.0% 0.165 130.2);
Tailwind
colors: {
  custom: {
    50: '#9dc068',
    500: '#6fa521',
    950: '#000000',
  },
}
SCSS
$custom: #6fa521;
$custom-light: #9dc068;
$custom-dark: #000000;
JSON
{
  "hex": "#6fa521",
  "rgb": {
    "r": 111,
    "g": 165,
    "b": 33
  },
  "hsl": {
    "h": 84.545,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65982,
    "c": 0.16542,
    "h": 130.2
  },
  "luminance": 0.304
}

Semantic roles & 50–950 ramp

primary
#6FA521
secondary
#885EC4
accent
#3EEA84
background
#FAFBF6
surface
#F3F7EB
border
#CDD0C6
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #6FA521

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

Preview Lab → · Contrast checker → · Palette generator →

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