#6CB938#6CB938

#6CB938 is a light, vivid yellow-green. Relative luminance 0.382; OKLCH L 71.0% C 0.179 H 135.3°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#6CB938
RGBrgb(108, 185, 56)
HSLhsl(96, 54%, 47%)
HSVhsv(96, 70%, 73%)
CMYKcmyk(41.6%, 0%, 69.7%, 27.5%)
CIE-LABlab(68.15, -45.59, 55.36)
CIE-LCHlch(68.15, 71.71, 129.47°)
OKLaboklab(71.01% -0.127 0.1257)
OKLCHoklch(71.01% 0.179 135.3)
XYZxyz(24.2466, 38.1703, 9.8306)
Luminance0.3817 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CB938 #8538B9
analogous
#ADB938 #6CB938 #38B945
triadic
#6CB938 #386CB9 #B9386C
tetradic
#6CB938 #38ADB9 #8538B9 #B94538
square
#6CB938 #38ADB9 #8538B9 #B94538
split-complementary
#6CB938 #4538B9 #B938AD
monochromatic
#355B1C #518A2A #6CB938 #8CCF5F #AEDD8E

Accessibility & contrast

On white

2.43
#6CB938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#6CB938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6CB938
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6CB938#FFFFFF#000000##000000
##6CB9381.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA24
Deuteranopia (green-blind)
#B5A444
Tritanopia (blue-blind)
#6AB29F
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #6cb938;
/* rgb */ color: rgb(108, 185, 56);
/* oklch */ color: oklch(71.0% 0.179 135.3);
Tailwind
colors: {
  custom: {
    50: '#9cce76',
    500: '#6cb938',
    950: '#000000',
  },
}
SCSS
$custom: #6cb938;
$custom-light: #9cce76;
$custom-dark: #000000;
JSON
{
  "hex": "#6cb938",
  "rgb": {
    "r": 108,
    "g": 185,
    "b": 56
  },
  "hsl": {
    "h": 95.814,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.7101,
    "c": 0.1787,
    "h": 135.3
  },
  "luminance": 0.38172
}

Semantic roles & 50–950 ramp

primary
#6CB938
secondary
#AD85C8
accent
#4BDDA2
background
#FAFCF7
surface
#F3F9ED
border
#CDD2C8
text
#0F1409
muted
#7F827B

Preview Lab

Preview with #6CB938

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

Preview Lab → · Contrast checker → · Palette generator →

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