#6FA522#6FA522

#6FA522 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#6FA522
RGBrgb(111, 165, 34)
HSLhsl(85, 66%, 39%)
HSVhsv(85, 79%, 65%)
CMYKcmyk(32.7%, 0%, 79.4%, 35.3%)
CIE-LABlab(62.00, -37.34, 57.08)
CIE-LCHlch(62.00, 68.21, 123.19°)
OKLaboklab(65.99% -0.1065 0.126)
OKLCHoklch(65.99% 0.165 130.2)
XYZxyz(20.2993, 30.4046, 6.3122)
Luminance0.3040 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FA522 #5822A5
analogous
#A59A22 #6FA522 #2EA522
triadic
#6FA522 #226FA5 #A5226F
tetradic
#6FA522 #22A59A #5822A5 #A5222E
square
#6FA522 #22A59A #5822A5 #A5222E
split-complementary
#6FA522 #222EA5 #9A22A5
monochromatic
#2B400D #4D7218 #6FA522 #91D430 #ACDF63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6FA522#FFFFFF#000000##000000
##6FA5221.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: #6fa522;
/* rgb */ color: rgb(111, 165, 34);
/* oklch */ color: oklch(66.0% 0.165 130.2);
Tailwind
colors: {
  custom: {
    50: '#9dc069',
    500: '#6fa522',
    950: '#000000',
  },
}
SCSS
$custom: #6fa522;
$custom-light: #9dc069;
$custom-dark: #000000;
JSON
{
  "hex": "#6fa522",
  "rgb": {
    "r": 111,
    "g": 165,
    "b": 34
  },
  "hsl": {
    "h": 84.733,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65987,
    "c": 0.16494,
    "h": 130.2
  },
  "luminance": 0.30405
}

Semantic roles & 50–950 ramp

primary
#6FA522
secondary
#895FC4
accent
#3FE985
background
#FAFBF6
surface
#F3F7EB
border
#CDD0C6
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #6FA522

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

Preview Lab → · Contrast checker → · Palette generator →

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