#6CB238#6CB238

#6CB238 is a light, vivid yellow-green. Relative luminance 0.353; OKLCH L 69.2% C 0.170 H 134.5°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#6CB238
RGBrgb(108, 178, 56)
HSLhsl(94, 52%, 46%)
HSVhsv(94, 69%, 70%)
CMYKcmyk(39.3%, 0%, 68.5%, 30.2%)
CIE-LABlab(65.99, -42.66, 53.11)
CIE-LCHlch(65.99, 68.12, 128.77°)
OKLaboklab(69.25% -0.1191 0.121)
OKLCHoklch(69.25% 0.17 134.5)
XYZxyz(22.8181, 35.3133, 9.3545)
Luminance0.3531 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CB238 #7E38B2
analogous
#A9B238 #6CB238 #38B241
triadic
#6CB238 #386CB2 #B2386C
tetradic
#6CB238 #38A9B2 #7E38B2 #B24138
square
#6CB238 #38A9B2 #7E38B2 #B24138
split-complementary
#6CB238 #4138B2 #B238A9
monochromatic
#34551B #508329 #6CB238 #8BCC5C #ACDA8A

Accessibility & contrast

On white

2.60
#6CB238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#6CB238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6CB238
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6CB238#FFFFFF#000000##000000
##6CB2381.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A426
Deuteranopia (green-blind)
#AF9E43
Tritanopia (blue-blind)
#6BAB99
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #6cb238;
/* rgb */ color: rgb(108, 178, 56);
/* oklch */ color: oklch(69.2% 0.170 134.5);
Tailwind
colors: {
  custom: {
    50: '#9bc975',
    500: '#6cb238',
    950: '#000000',
  },
}
SCSS
$custom: #6cb238;
$custom-light: #9bc975;
$custom-dark: #000000;
JSON
{
  "hex": "#6cb238",
  "rgb": {
    "r": 108,
    "g": 178,
    "b": 56
  },
  "hsl": {
    "h": 94.426,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69247,
    "c": 0.16975,
    "h": 134.5
  },
  "luminance": 0.35314
}

Semantic roles & 50–950 ramp

primary
#6CB238
secondary
#A881C5
accent
#4CDC9E
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0F1309
muted
#7E827B

Preview Lab

Preview with #6CB238

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

Preview Lab → · Contrast checker → · Palette generator →

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