#6FB240#6FB240

#6FB240 is a light, vivid yellow-green. Relative luminance 0.356; OKLCH L 69.5% C 0.162 H 134.6°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#6FB240
RGBrgb(111, 178, 64)
HSLhsl(95, 47%, 47%)
HSVhsv(95, 64%, 70%)
CMYKcmyk(37.6%, 0%, 64%, 30.2%)
CIE-LABlab(66.20, -40.95, 50.06)
CIE-LCHlch(66.20, 64.68, 129.29°)
OKLaboklab(69.48% -0.114 0.1155)
OKLCHoklch(69.48% 0.162 134.6)
XYZxyz(23.4009, 35.5894, 10.4859)
Luminance0.3559 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FB240 #8340B2
analogous
#A8B240 #6FB240 #40B24A
triadic
#6FB240 #406FB2 #B2406F
tetradic
#6FB240 #40A8B2 #8340B2 #B24A40
square
#6FB240 #40A8B2 #8340B2 #B24A40
split-complementary
#6FB240 #4A40B2 #B240A8
monochromatic
#375820 #538530 #6FB240 #8FC867 #B0D894

Accessibility & contrast

On white

2.59
#6FB240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#6FB240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6FB240
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6FB240#FFFFFF#000000##000000
##6FB2401.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A432
Deuteranopia (green-blind)
#AF9F49
Tritanopia (blue-blind)
#6EAB9A
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #6fb240;
/* rgb */ color: rgb(111, 178, 64);
/* oklch */ color: oklch(69.5% 0.162 134.6);
Tailwind
colors: {
  custom: {
    50: '#9dc97a',
    500: '#6fb240',
    950: '#000000',
  },
}
SCSS
$custom: #6fb240;
$custom-light: #9dc97a;
$custom-dark: #000000;
JSON
{
  "hex": "#6fb240",
  "rgb": {
    "r": 111,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 95.263,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.69482,
    "c": 0.16228,
    "h": 134.6
  },
  "luminance": 0.3559
}

Semantic roles & 50–950 ramp

primary
#6FB240
secondary
#AC8AC4
accent
#51D7A0
background
#FAFCF7
surface
#F3F8EE
border
#CDD1C9
text
#0F1309
muted
#7F827B

Preview Lab

Preview with #6FB240

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

Preview Lab → · Contrast checker → · Palette generator →

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