#6CB31B#6CB31B

#6CB31B 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#6CB31B
RGBrgb(108, 179, 27)
HSLhsl(88, 74%, 40%)
HSVhsv(88, 85%, 70%)
CMYKcmyk(39.7%, 0%, 84.9%, 29.8%)
CIE-LABlab(66.14, -44.74, 62.65)
CIE-LCHlch(66.14, 76.98, 125.54°)
OKLaboklab(69.32% -0.1266 0.1367)
OKLCHoklch(69.32% 0.186 132.8)
XYZxyz(22.5020, 35.5064, 6.7045)
Luminance0.3551 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CB31B #621BB3
analogous
#B3AE1B #6CB31B #20B31B
triadic
#6CB31B #1B6CB3 #B31B6C
tetradic
#6CB31B #1BB3AE #621BB3 #B31B20
square
#6CB31B #1BB3AE #621BB3 #B31B20
split-complementary
#6CB31B #1B20B3 #AE1BB3
monochromatic
#2C490B #4C7E13 #6CB31B #8BDF2C #A9E761

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6CB31B#FFFFFF#000000##000000
##6CB31B1.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: #6cb31b;
/* rgb */ color: rgb(108, 179, 27);
/* oklch */ color: oklch(69.3% 0.186 132.8);
Tailwind
colors: {
  custom: {
    50: '#9dca68',
    500: '#6cb31b',
    950: '#000000',
  },
}
SCSS
$custom: #6cb31b;
$custom-light: #9dca68;
$custom-dark: #000000;
JSON
{
  "hex": "#6cb31b",
  "rgb": {
    "r": 108,
    "g": 179,
    "b": 27
  },
  "hsl": {
    "h": 88.026,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69318,
    "c": 0.18635,
    "h": 132.8
  },
  "luminance": 0.35507
}

Semantic roles & 50–950 ramp

primary
#6CB31B
secondary
#915ECC
accent
#37F08E
background
#FAFCF6
surface
#F4F8EB
border
#CED1C6
text
#0F1307
muted
#7F827A

Preview Lab

Preview with #6CB31B

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

Preview Lab → · Contrast checker → · Palette generator →

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