#6CA017#6CA017

#6CA017 is a light, vivid yellow-green. Relative luminance 0.284; OKLCH L 64.5% C 0.165 H 129.6°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#6CA017
RGBrgb(108, 160, 23)
HSLhsl(83, 75%, 36%)
HSVhsv(83, 86%, 63%)
CMYKcmyk(32.5%, 0%, 85.6%, 37.3%)
CIE-LABlab(60.24, -36.73, 58.45)
CIE-LCHlch(60.24, 69.03, 122.15°)
OKLaboklab(64.49% -0.1053 0.1272)
OKLCHoklch(64.49% 0.165 129.6)
XYZxyz(18.9098, 28.3910, 5.2942)
Luminance0.2839 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CA017 #4B17A0
analogous
#A08F17 #6CA017 #27A017
triadic
#6CA017 #176CA0 #A0176C
tetradic
#6CA017 #17A08F #4B17A0 #A01727
square
#6CA017 #17A08F #4B17A0 #A01727
split-complementary
#6CA017 #1727A0 #8F17A0
monochromatic
#243508 #486A0F #6CA017 #90D61F #ABE54C

Accessibility & contrast

On white

3.14
#6CA017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#6CA017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6CA017
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6CA017#FFFFFF#000000##000000
##6CA0171.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A19028
Tritanopia (blue-blind)
#6F9988
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #6ca017;
/* rgb */ color: rgb(108, 160, 23);
/* oklch */ color: oklch(64.5% 0.165 129.6);
Tailwind
colors: {
  custom: {
    50: '#9bbc64',
    500: '#6ca017',
    950: '#000000',
  },
}
SCSS
$custom: #6ca017;
$custom-light: #9bbc64;
$custom-dark: #000000;
JSON
{
  "hex": "#6ca017",
  "rgb": {
    "r": 108,
    "g": 160,
    "b": 23
  },
  "hsl": {
    "h": 82.774,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.64492,
    "c": 0.16516,
    "h": 129.6
  },
  "luminance": 0.28392
}

Semantic roles & 50–950 ramp

primary
#6CA017
secondary
#7B4CC7
accent
#36F17D
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0F1206
muted
#7E817A

Preview Lab

Preview with #6CA017

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

Preview Lab → · Contrast checker → · Palette generator →

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