#6FA42B#6FA42B

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

Color values

HEX#6FA42B
RGBrgb(111, 164, 43)
HSLhsl(86, 58%, 41%)
HSVhsv(86, 74%, 64%)
CMYKcmyk(32.3%, 0%, 73.8%, 35.7%)
CIE-LABlab(61.74, -36.39, 53.81)
CIE-LCHlch(61.74, 64.96, 124.07°)
OKLaboklab(65.79% -0.1032 0.1205)
OKLCHoklch(65.79% 0.159 130.6)
XYZxyz(20.2669, 30.1042, 7.0279)
Luminance0.3010 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FA42B #602BA4
analogous
#A49C2B #6FA42B #32A42B
triadic
#6FA42B #2B6FA4 #A42B6F
tetradic
#6FA42B #2BA49C #602BA4 #A42B32
square
#6FA42B #2BA49C #602BA4 #A42B32
split-complementary
#6FA42B #2B32A4 #9C2BA4
monochromatic
#2D4312 #4E741E #6FA42B #8FCD3F #ABD970

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6FA42B#FFFFFF#000000##000000
##6FA42B1.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)
#AC9814
Deuteranopia (green-blind)
#A49436
Tritanopia (blue-blind)
#729D8D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #6fa42b;
/* rgb */ color: rgb(111, 164, 43);
/* oklch */ color: oklch(65.8% 0.159 130.6);
Tailwind
colors: {
  custom: {
    50: '#9dbf6d',
    500: '#6fa42b',
    950: '#000000',
  },
}
SCSS
$custom: #6fa42b;
$custom-light: #9dbf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#6fa42b",
  "rgb": {
    "r": 111,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 86.281,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.65793,
    "c": 0.15869,
    "h": 130.6
  },
  "luminance": 0.30105
}

Semantic roles & 50–950 ramp

primary
#6FA42B
secondary
#906AC1
accent
#46E28A
background
#FAFBF6
surface
#F3F7EC
border
#CDD0C7
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #6FA42B

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

Preview Lab → · Contrast checker → · Palette generator →

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