#6FA42C#6FA42C

#6FA42C is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 65.8% C 0.158 H 130.7°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#6FA42C
RGBrgb(111, 164, 44)
HSLhsl(87, 58%, 41%)
HSVhsv(87, 73%, 64%)
CMYKcmyk(32.3%, 0%, 73.2%, 35.7%)
CIE-LABlab(61.75, -36.33, 53.46)
CIE-LCHlch(61.75, 64.63, 124.20°)
OKLaboklab(65.8% -0.103 0.1199)
OKLCHoklch(65.8% 0.158 130.7)
XYZxyz(20.2855, 30.1116, 7.1257)
Luminance0.3011 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FA42C #612CA4
analogous
#A49D2C #6FA42C #33A42C
triadic
#6FA42C #2C6FA4 #A42C6F
tetradic
#6FA42C #2CA49D #612CA4 #A42C33
square
#6FA42C #2CA49D #612CA4 #A42C33
split-complementary
#6FA42C #2C33A4 #9D2CA4
monochromatic
#2E4312 #4E741F #6FA42C #8FCC41 #ABD971

Accessibility & contrast

On white

2.99
#6FA42C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#6FA42C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6FA42C
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6FA42C#FFFFFF#000000##000000
##6FA42C1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9816
Deuteranopia (green-blind)
#A49437
Tritanopia (blue-blind)
#719D8D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #6fa42c;
/* rgb */ color: rgb(111, 164, 44);
/* oklch */ color: oklch(65.8% 0.158 130.7);
Tailwind
colors: {
  custom: {
    50: '#9dbf6d',
    500: '#6fa42c',
    950: '#000000',
  },
}
SCSS
$custom: #6fa42c;
$custom-light: #9dbf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#6fa42c",
  "rgb": {
    "r": 111,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 86.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.658,
    "c": 0.15808,
    "h": 130.7
  },
  "luminance": 0.30112
}

Semantic roles & 50–950 ramp

primary
#6FA42C
secondary
#916BC0
accent
#47E18B
background
#FAFBF6
surface
#F3F7EC
border
#CDD0C7
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #6FA42C

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

Preview Lab → · Contrast checker → · Palette generator →

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