#6CB31F#6CB31F

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

Color values

HEX#6CB31F
RGBrgb(108, 179, 31)
HSLhsl(89, 70%, 41%)
HSVhsv(89, 83%, 70%)
CMYKcmyk(39.7%, 0%, 82.7%, 29.8%)
CIE-LABlab(66.16, -44.58, 61.66)
CIE-LCHlch(66.16, 76.09, 125.87°)
OKLaboklab(69.34% -0.126 0.1352)
OKLCHoklch(69.34% 0.185 133)
XYZxyz(22.5514, 35.5262, 6.9651)
Luminance0.3553 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CB31F #661FB3
analogous
#B3B01F #6CB31F #22B31F
triadic
#6CB31F #1F6CB3 #B31F6C
tetradic
#6CB31F #1FB3B0 #661FB3 #B31F22
square
#6CB31F #1FB3B0 #661FB3 #B31F22
split-complementary
#6CB31F #1F22B3 #B01FB3
monochromatic
#2D4B0D #4D7F16 #6CB31F #8BDC33 #A9E568

Accessibility & contrast

On white

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

On black

8.11
#6CB31F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6CB31F
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6CB31F#FFFFFF#000000##000000
##6CB31F1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6cb31f;
/* rgb */ color: rgb(108, 179, 31);
/* oklch */ color: oklch(69.3% 0.185 133.0);
Tailwind
colors: {
  custom: {
    50: '#9cca69',
    500: '#6cb31f',
    950: '#000000',
  },
}
SCSS
$custom: #6cb31f;
$custom-light: #9cca69;
$custom-dark: #000000;
JSON
{
  "hex": "#6cb31f",
  "rgb": {
    "r": 108,
    "g": 179,
    "b": 31
  },
  "hsl": {
    "h": 88.784,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.69336,
    "c": 0.18481,
    "h": 133
  },
  "luminance": 0.35527
}

Semantic roles & 50–950 ramp

primary
#6CB31F
secondary
#9564CA
accent
#3BED90
background
#FAFCF6
surface
#F3F8EC
border
#CDD1C7
text
#0F1307
muted
#7F827A

Preview Lab

Preview with #6CB31F

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

Preview Lab → · Contrast checker → · Palette generator →

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