#6CB731#6CB731

#6CB731 is a light, vivid yellow-green. Relative luminance 0.373; OKLCH L 70.5% C 0.181 H 134.5°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#6CB731
RGBrgb(108, 183, 49)
HSLhsl(94, 58%, 45%)
HSVhsv(94, 73%, 72%)
CMYKcmyk(41%, 0%, 73.2%, 28.2%)
CIE-LABlab(67.48, -45.26, 57.29)
CIE-LCHlch(67.48, 73.01, 128.31°)
OKLaboklab(70.45% -0.1266 0.1288)
OKLCHoklch(70.45% 0.181 134.5)
XYZxyz(23.6717, 37.2756, 8.8528)
Luminance0.3728 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CB731 #7C31B7
analogous
#AFB731 #6CB731 #31B739
triadic
#6CB731 #316CB7 #B7316C
tetradic
#6CB731 #31AFB7 #7C31B7 #B73931
square
#6CB731 #31AFB7 #7C31B7 #B73931
split-complementary
#6CB731 #3931B7 #B731AF
monochromatic
#335617 #508724 #6CB731 #8BD154 #ACDE84

Accessibility & contrast

On white

2.48
#6CB731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#6CB731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6CB731
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6CB731#FFFFFF#000000##000000
##6CB7311.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA818
Deuteranopia (green-blind)
#B4A23E
Tritanopia (blue-blind)
#6BB09D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #6cb731;
/* rgb */ color: rgb(108, 183, 49);
/* oklch */ color: oklch(70.5% 0.181 134.5);
Tailwind
colors: {
  custom: {
    50: '#9ccd72',
    500: '#6cb731',
    950: '#000000',
  },
}
SCSS
$custom: #6cb731;
$custom-light: #9ccd72;
$custom-dark: #000000;
JSON
{
  "hex": "#6cb731",
  "rgb": {
    "r": 108,
    "g": 183,
    "b": 49
  },
  "hsl": {
    "h": 93.582,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70452,
    "c": 0.18059,
    "h": 134.5
  },
  "luminance": 0.37277
}

Semantic roles & 50–950 ramp

primary
#6CB731
secondary
#A67CC8
accent
#47E19D
background
#FAFCF7
surface
#F3F9ED
border
#CDD2C8
text
#0F1308
muted
#7F827B

Preview Lab

Preview with #6CB731

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

Preview Lab → · Contrast checker → · Palette generator →

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