#6DB228#6DB228

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

Color values

HEX#6DB228
RGBrgb(109, 178, 40)
HSLhsl(90, 63%, 43%)
HSVhsv(90, 78%, 70%)
CMYKcmyk(38.8%, 0%, 77.5%, 30.2%)
CIE-LABlab(65.94, -43.38, 58.86)
CIE-LCHlch(65.94, 73.12, 126.39°)
OKLaboklab(69.18% -0.1222 0.1307)
OKLCHoklch(69.18% 0.179 133.1)
XYZxyz(22.6097, 35.2441, 7.6186)
Luminance0.3524 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6DB228 #6D28B2
analogous
#B2B228 #6DB228 #28B228
triadic
#6DB228 #286DB2 #B2286D
tetradic
#6DB228 #28B2B2 #6D28B2 #B22828
square
#6DB228 #28B2B2 #6D28B2 #B22828
split-complementary
#6DB228 #2828B2 #B228B2
monochromatic
#304E12 #4E801D #6DB228 #8CD543 #AAE075

Accessibility & contrast

On white

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

On black

8.05
#6DB228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6DB228
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6DB228#FFFFFF#000000##000000
##6DB2281.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6db228;
/* rgb */ color: rgb(109, 178, 40);
/* oklch */ color: oklch(69.2% 0.179 133.1);
Tailwind
colors: {
  custom: {
    50: '#9dc96d',
    500: '#6db228',
    950: '#000000',
  },
}
SCSS
$custom: #6db228;
$custom-light: #9dc96d;
$custom-dark: #000000;
JSON
{
  "hex": "#6db228",
  "rgb": {
    "r": 109,
    "g": 178,
    "b": 40
  },
  "hsl": {
    "h": 90,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.69184,
    "c": 0.17893,
    "h": 133.1
  },
  "luminance": 0.35245
}

Semantic roles & 50–950 ramp

primary
#6DB228
secondary
#9B6FC7
accent
#41E694
background
#FAFCF6
surface
#F3F8EC
border
#CDD1C7
text
#0F1308
muted
#7F827B

Preview Lab

Preview with #6DB228

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

Preview Lab → · Contrast checker → · Palette generator →

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