#6FA017#6FA017

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

Color values

HEX#6FA017
RGBrgb(111, 160, 23)
HSLhsl(81, 75%, 36%)
HSVhsv(81, 86%, 63%)
CMYKcmyk(30.6%, 0%, 85.6%, 37.3%)
CIE-LABlab(60.41, -35.57, 58.67)
CIE-LCHlch(60.41, 68.61, 121.23°)
OKLaboklab(64.68% -0.1024 0.1276)
OKLCHoklch(64.68% 0.164 128.7)
XYZxyz(19.2810, 28.5824, 5.3116)
Luminance0.2858 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FA017 #4817A0
analogous
#A08C17 #6FA017 #2AA017
triadic
#6FA017 #176FA0 #A0176F
tetradic
#6FA017 #17A08C #4817A0 #A0172A
square
#6FA017 #17A08C #4817A0 #A0172A
split-complementary
#6FA017 #172AA0 #8C17A0
monochromatic
#253508 #4A6A0F #6FA017 #94D61F #AFE54C

Accessibility & contrast

On white

3.13
#6FA017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#6FA017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6FA017
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6FA017#FFFFFF#000000##000000
##6FA0171.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6fa017;
/* rgb */ color: rgb(111, 160, 23);
/* oklch */ color: oklch(64.7% 0.164 128.7);
Tailwind
colors: {
  custom: {
    50: '#9dbc64',
    500: '#6fa017',
    950: '#000000',
  },
}
SCSS
$custom: #6fa017;
$custom-light: #9dbc64;
$custom-dark: #000000;
JSON
{
  "hex": "#6fa017",
  "rgb": {
    "r": 111,
    "g": 160,
    "b": 23
  },
  "hsl": {
    "h": 81.46,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.64676,
    "c": 0.1636,
    "h": 128.7
  },
  "luminance": 0.28583
}

Semantic roles & 50–950 ramp

primary
#6FA017
secondary
#784CC7
accent
#36F179
background
#FAFBF6
surface
#F3F6EB
border
#CDD0C6
text
#0F1206
muted
#7F817A

Preview Lab

Preview with #6FA017

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

Preview Lab → · Contrast checker → · Palette generator →

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