#6CA81F#6CA81F

#6CA81F is a light, vivid yellow-green. Relative luminance 0.313; OKLCH L 66.6% C 0.172 H 131.4°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#6CA81F
RGBrgb(108, 168, 31)
HSLhsl(86, 69%, 39%)
HSVhsv(86, 82%, 66%)
CMYKcmyk(35.7%, 0%, 81.5%, 34.1%)
CIE-LABlab(62.75, -39.92, 58.59)
CIE-LCHlch(62.75, 70.90, 124.27°)
OKLaboklab(66.55% -0.1134 0.1287)
OKLCHoklch(66.55% 0.172 131.4)
XYZxyz(20.4341, 31.2915, 6.2593)
Luminance0.3129 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CA81F #5B1FA8
analogous
#A8A01F #6CA81F #28A81F
triadic
#6CA81F #1F6CA8 #A81F6C
tetradic
#6CA81F #1FA8A0 #5B1FA8 #A81F28
square
#6CA81F #1FA8A0 #5B1FA8 #A81F28
split-complementary
#6CA81F #1F28A8 #A01FA8
monochromatic
#2A410C #4B7415 #6CA81F #8DD82C #A9E260

Accessibility & contrast

On white

2.89
#6CA81F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#6CA81F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6CA81F
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6CA81F#FFFFFF#000000##000000
##6CA81F1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#A7962F
Tritanopia (blue-blind)
#6EA18F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #6ca81f;
/* rgb */ color: rgb(108, 168, 31);
/* oklch */ color: oklch(66.6% 0.172 131.4);
Tailwind
colors: {
  custom: {
    50: '#9bc268',
    500: '#6ca81f',
    950: '#000000',
  },
}
SCSS
$custom: #6ca81f;
$custom-light: #9bc268;
$custom-dark: #000000;
JSON
{
  "hex": "#6ca81f",
  "rgb": {
    "r": 108,
    "g": 168,
    "b": 31
  },
  "hsl": {
    "h": 86.277,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.66552,
    "c": 0.17159,
    "h": 131.4
  },
  "luminance": 0.31292
}

Semantic roles & 50–950 ramp

primary
#6CA81F
secondary
#8B5DC6
accent
#3CEC89
background
#FAFBF6
surface
#F3F7EB
border
#CDD0C6
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #6CA81F

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

Preview Lab → · Contrast checker → · Palette generator →

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