#6FB540#6FB540

#6FB540 is a light, vivid yellow-green. Relative luminance 0.368; OKLCH L 70.2% C 0.166 H 135.0°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#6FB540
RGBrgb(111, 181, 64)
HSLhsl(96, 48%, 48%)
HSVhsv(96, 65%, 71%)
CMYKcmyk(38.7%, 0%, 64.6%, 29%)
CIE-LABlab(67.12, -42.24, 51.06)
CIE-LCHlch(67.12, 66.27, 129.60°)
OKLaboklab(70.23% -0.1175 0.1176)
OKLCHoklch(70.23% 0.166 135)
XYZxyz(24.0043, 36.7962, 10.6871)
Luminance0.3680 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FB540 #8640B5
analogous
#A9B540 #6FB540 #40B54B
triadic
#6FB540 #406FB5 #B5406F
tetradic
#6FB540 #40A9B5 #8640B5 #B54B40
square
#6FB540 #40A9B5 #8640B5 #B54B40
split-complementary
#6FB540 #4B40B5 #B540A9
monochromatic
#385B20 #538830 #6FB540 #90CA68 #B1DA96

Accessibility & contrast

On white

2.51
#6FB540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#6FB540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6FB540
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6FB540#FFFFFF#000000##000000
##6FB5401.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA731
Deuteranopia (green-blind)
#B2A14A
Tritanopia (blue-blind)
#6EAE9D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #6fb540;
/* rgb */ color: rgb(111, 181, 64);
/* oklch */ color: oklch(70.2% 0.166 135.0);
Tailwind
colors: {
  custom: {
    50: '#9dcb7a',
    500: '#6fb540',
    950: '#000000',
  },
}
SCSS
$custom: #6fb540;
$custom-light: #9dcb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#6fb540",
  "rgb": {
    "r": 111,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 95.897,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.70232,
    "c": 0.16627,
    "h": 135
  },
  "luminance": 0.36797
}

Semantic roles & 50–950 ramp

primary
#6FB540
secondary
#AE8BC5
accent
#50D7A1
background
#FAFCF7
surface
#F3F8EE
border
#CDD1C9
text
#0F1309
muted
#7F827B

Preview Lab

Preview with #6FB540

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

Preview Lab → · Contrast checker → · Palette generator →

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