#6EA51F#6EA51F

#6EA51F is a light, vivid yellow-green. Relative luminance 0.303; OKLCH L 65.9% C 0.167 H 130.3°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#6EA51F
RGBrgb(110, 165, 31)
HSLhsl(85, 68%, 38%)
HSVhsv(85, 81%, 65%)
CMYKcmyk(33.3%, 0%, 81.2%, 35.3%)
CIE-LABlab(61.93, -37.86, 57.89)
CIE-LCHlch(61.93, 69.17, 123.19°)
OKLaboklab(65.91% -0.108 0.1272)
OKLCHoklch(65.91% 0.167 130.3)
XYZxyz(20.1328, 30.3235, 6.0883)
Luminance0.3032 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6EA51F #561FA5
analogous
#A5991F #6EA51F #2BA51F
triadic
#6EA51F #1F6EA5 #A51F6E
tetradic
#6EA51F #1FA599 #561FA5 #A51F2B
square
#6EA51F #1FA599 #561FA5 #A51F2B
split-complementary
#6EA51F #1F2BA5 #991FA5
monochromatic
#293E0C #4C7115 #6EA51F #90D72A #ABE15E

Accessibility & contrast

On white

2.97
#6EA51F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#6EA51F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6EA51F
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6EA51F#FFFFFF#000000##000000
##6EA51F1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#A5942E
Tritanopia (blue-blind)
#719E8D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #6ea51f;
/* rgb */ color: rgb(110, 165, 31);
/* oklch */ color: oklch(65.9% 0.167 130.3);
Tailwind
colors: {
  custom: {
    50: '#9cc067',
    500: '#6ea51f',
    950: '#000000',
  },
}
SCSS
$custom: #6ea51f;
$custom-light: #9cc067;
$custom-dark: #000000;
JSON
{
  "hex": "#6ea51f",
  "rgb": {
    "r": 110,
    "g": 165,
    "b": 31
  },
  "hsl": {
    "h": 84.627,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.65911,
    "c": 0.16689,
    "h": 130.3
  },
  "luminance": 0.30324
}

Semantic roles & 50–950 ramp

primary
#6EA51F
secondary
#865BC5
accent
#3DEB84
background
#FAFBF6
surface
#F3F7EB
border
#CDD0C6
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #6EA51F

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

Preview Lab → · Contrast checker → · Palette generator →

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