#6CB228#6CB228

#6CB228 is a light, vivid yellow-green. Relative luminance 0.352; OKLCH L 69.1% C 0.179 H 133.3°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#6CB228
RGBrgb(108, 178, 40)
HSLhsl(90, 63%, 43%)
HSVhsv(90, 78%, 70%)
CMYKcmyk(39.3%, 0%, 77.5%, 30.2%)
CIE-LABlab(65.89, -43.73, 58.80)
CIE-LCHlch(65.89, 73.27, 126.64°)
OKLaboklab(69.13% -0.1231 0.1306)
OKLCHoklch(69.13% 0.179 133.3)
XYZxyz(22.4874, 35.1810, 7.6128)
Luminance0.3518 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CB228 #6E28B2
analogous
#B1B228 #6CB228 #28B229
triadic
#6CB228 #286CB2 #B2286C
tetradic
#6CB228 #28B1B2 #6E28B2 #B22928
square
#6CB228 #28B1B2 #6E28B2 #B22928
split-complementary
#6CB228 #2928B2 #B228B1
monochromatic
#2F4E12 #4E801D #6CB228 #8BD543 #A9E075

Accessibility & contrast

On white

2.61
#6CB228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#6CB228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6CB228
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6CB228#FFFFFF#000000##000000
##6CB2281.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A401
Deuteranopia (green-blind)
#B09E37
Tritanopia (blue-blind)
#6CAB98
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #6cb228;
/* rgb */ color: rgb(108, 178, 40);
/* oklch */ color: oklch(69.1% 0.179 133.3);
Tailwind
colors: {
  custom: {
    50: '#9cc96d',
    500: '#6cb228',
    950: '#000000',
  },
}
SCSS
$custom: #6cb228;
$custom-light: #9cc96d;
$custom-dark: #000000;
JSON
{
  "hex": "#6cb228",
  "rgb": {
    "r": 108,
    "g": 178,
    "b": 40
  },
  "hsl": {
    "h": 90.435,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.69131,
    "c": 0.17945,
    "h": 133.3
  },
  "luminance": 0.35182
}

Semantic roles & 50–950 ramp

primary
#6CB228
secondary
#9C6FC7
accent
#41E695
background
#FAFCF6
surface
#F3F8EC
border
#CDD1C7
text
#0F1308
muted
#7F827B

Preview Lab

Preview with #6CB228

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

Preview Lab → · Contrast checker → · Palette generator →

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