#6FB242#6FB242

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

Color values

HEX#6FB242
RGBrgb(111, 178, 66)
HSLhsl(96, 46%, 48%)
HSVhsv(96, 63%, 70%)
CMYKcmyk(37.6%, 0%, 62.9%, 30.2%)
CIE-LABlab(66.22, -40.77, 49.21)
CIE-LCHlch(66.22, 63.91, 129.64°)
OKLaboklab(69.5% -0.1134 0.1139)
OKLCHoklch(69.5% 0.161 134.9)
XYZxyz(23.4588, 35.6125, 10.7911)
Luminance0.3561 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FB242 #8542B2
analogous
#A7B242 #6FB242 #42B24D
triadic
#6FB242 #426FB2 #B2426F
tetradic
#6FB242 #42A7B2 #8542B2 #B24D42
square
#6FB242 #42A7B2 #8542B2 #B24D42
split-complementary
#6FB242 #4D42B2 #B242A7
monochromatic
#375921 #538531 #6FB242 #8FC86A #B1D896

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6FB242#FFFFFF#000000##000000
##6FB2421.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)
#B8A435
Deuteranopia (green-blind)
#AF9F4B
Tritanopia (blue-blind)
#6EAC9A
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #6fb242;
/* rgb */ color: rgb(111, 178, 66);
/* oklch */ color: oklch(69.5% 0.161 134.9);
Tailwind
colors: {
  custom: {
    50: '#9dc97b',
    500: '#6fb242',
    950: '#000000',
  },
}
SCSS
$custom: #6fb242;
$custom-light: #9dc97b;
$custom-dark: #000000;
JSON
{
  "hex": "#6fb242",
  "rgb": {
    "r": 111,
    "g": 178,
    "b": 66
  },
  "hsl": {
    "h": 95.893,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.69502,
    "c": 0.16072,
    "h": 134.9
  },
  "luminance": 0.35614
}

Semantic roles & 50–950 ramp

primary
#6FB242
secondary
#AD8CC4
accent
#52D6A1
background
#F9FCF7
surface
#F2F8EE
border
#CCD1C9
text
#0F130A
muted
#7E827C

Preview Lab

Preview with #6FB242

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

Preview Lab → · Contrast checker → · Palette generator →

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