#6FAF27#6FAF27

#6FAF27 is a light, vivid yellow-green. Relative luminance 0.342; OKLCH L 68.5% C 0.175 H 132.1°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#6FAF27
RGBrgb(111, 175, 39)
HSLhsl(88, 64%, 42%)
HSVhsv(88, 78%, 69%)
CMYKcmyk(36.6%, 0%, 77.7%, 31.4%)
CIE-LABlab(65.11, -41.45, 58.43)
CIE-LCHlch(65.11, 71.64, 125.35°)
OKLaboklab(68.53% -0.1172 0.1296)
OKLCHoklch(68.53% 0.175 132.1)
XYZxyz(22.2515, 34.1850, 7.3450)
Luminance0.3419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FAF27 #6727AF
analogous
#AFAB27 #6FAF27 #2BAF27
triadic
#6FAF27 #276FAF #AF276F
tetradic
#6FAF27 #27AFAB #6727AF #AF272B
square
#6FAF27 #27AFAB #6727AF #AF272B
split-complementary
#6FAF27 #272BAF #AB27AF
monochromatic
#304B11 #4F7D1C #6FAF27 #8ED43F #ABDF71

Accessibility & contrast

On white

2.68
#6FAF27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#6FAF27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6FAF27
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6FAF27#FFFFFF#000000##000000
##6FAF271.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#AE9C35
Tritanopia (blue-blind)
#70A896
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #6faf27;
/* rgb */ color: rgb(111, 175, 39);
/* oklch */ color: oklch(68.5% 0.175 132.1);
Tailwind
colors: {
  custom: {
    50: '#9ec76c',
    500: '#6faf27',
    950: '#000000',
  },
}
SCSS
$custom: #6faf27;
$custom-light: #9ec76c;
$custom-dark: #000000;
JSON
{
  "hex": "#6faf27",
  "rgb": {
    "r": 111,
    "g": 175,
    "b": 39
  },
  "hsl": {
    "h": 88.235,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68531,
    "c": 0.17473,
    "h": 132.1
  },
  "luminance": 0.34186
}

Semantic roles & 50–950 ramp

primary
#6FAF27
secondary
#966BC6
accent
#41E78F
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#0F1307
muted
#7F827A

Preview Lab

Preview with #6FAF27

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

Preview Lab → · Contrast checker → · Palette generator →

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