#6CB31C#6CB31C

#6CB31C is a light, vivid yellow-green. Relative luminance 0.355; OKLCH L 69.3% C 0.186 H 132.8°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#6CB31C
RGBrgb(108, 179, 28)
HSLhsl(88, 73%, 41%)
HSVhsv(88, 84%, 70%)
CMYKcmyk(39.7%, 0%, 84.4%, 29.8%)
CIE-LABlab(66.14, -44.71, 62.41)
CIE-LCHlch(66.14, 76.77, 125.62°)
OKLaboklab(69.32% -0.1265 0.1364)
OKLCHoklch(69.32% 0.186 132.8)
XYZxyz(22.5137, 35.5111, 6.7665)
Luminance0.3551 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CB31C #631CB3
analogous
#B3AE1C #6CB31C #20B31C
triadic
#6CB31C #1C6CB3 #B31C6C
tetradic
#6CB31C #1CB3AE #631CB3 #B31C20
square
#6CB31C #1CB3AE #631CB3 #B31C20
split-complementary
#6CB31C #1C20B3 #AE1CB3
monochromatic
#2C490B #4C7E14 #6CB31C #8BDE2E #A9E763

Accessibility & contrast

On white

2.59
#6CB31C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#6CB31C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6CB31C
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6CB31C#FFFFFF#000000##000000
##6CB31C1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6cb31c;
/* rgb */ color: rgb(108, 179, 28);
/* oklch */ color: oklch(69.3% 0.186 132.8);
Tailwind
colors: {
  custom: {
    50: '#9cca68',
    500: '#6cb31c',
    950: '#000000',
  },
}
SCSS
$custom: #6cb31c;
$custom-light: #9cca68;
$custom-dark: #000000;
JSON
{
  "hex": "#6cb31c",
  "rgb": {
    "r": 108,
    "g": 179,
    "b": 28
  },
  "hsl": {
    "h": 88.212,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.69322,
    "c": 0.18598,
    "h": 132.8
  },
  "luminance": 0.35512
}

Semantic roles & 50–950 ramp

primary
#6CB31C
secondary
#925FCB
accent
#38F08E
background
#FAFCF6
surface
#F4F8EB
border
#CED1C6
text
#0F1307
muted
#7F827A

Preview Lab

Preview with #6CB31C

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

Preview Lab → · Contrast checker → · Palette generator →

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