#6EB31F#6EB31F

#6EB31F is a light, vivid yellow-green. Relative luminance 0.357; OKLCH L 69.4% C 0.184 H 132.5°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#6EB31F
RGBrgb(110, 179, 31)
HSLhsl(88, 70%, 41%)
HSVhsv(88, 83%, 70%)
CMYKcmyk(38.5%, 0%, 82.7%, 29.8%)
CIE-LABlab(66.25, -43.88, 61.79)
CIE-LCHlch(66.25, 75.78, 125.38°)
OKLaboklab(69.44% -0.1242 0.1354)
OKLCHoklch(69.44% 0.184 132.5)
XYZxyz(22.7975, 35.6531, 6.9766)
Luminance0.3565 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6EB31F #641FB3
analogous
#B3AE1F #6EB31F #24B31F
triadic
#6EB31F #1F6EB3 #B31F6E
tetradic
#6EB31F #1FB3AE #641FB3 #B31F24
square
#6EB31F #1FB3AE #641FB3 #B31F24
split-complementary
#6EB31F #1F24B3 #AE1FB3
monochromatic
#2E4B0D #4E7F16 #6EB31F #8DDC33 #AAE568

Accessibility & contrast

On white

2.58
#6EB31F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#6EB31F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6EB31F
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6EB31F#FFFFFF#000000##000000
##6EB31F1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA400
Deuteranopia (green-blind)
#B19F31
Tritanopia (blue-blind)
#6FAB99
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #6eb31f;
/* rgb */ color: rgb(110, 179, 31);
/* oklch */ color: oklch(69.4% 0.184 132.5);
Tailwind
colors: {
  custom: {
    50: '#9eca69',
    500: '#6eb31f',
    950: '#000000',
  },
}
SCSS
$custom: #6eb31f;
$custom-light: #9eca69;
$custom-dark: #000000;
JSON
{
  "hex": "#6eb31f",
  "rgb": {
    "r": 110,
    "g": 179,
    "b": 31
  },
  "hsl": {
    "h": 87.973,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.69442,
    "c": 0.18378,
    "h": 132.5
  },
  "luminance": 0.35654
}

Semantic roles & 50–950 ramp

primary
#6EB31F
secondary
#9364CA
accent
#3BED8E
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#0F1307
muted
#7F827A

Preview Lab

Preview with #6EB31F

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

Preview Lab → · Contrast checker → · Palette generator →

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