#6FA828#6FA828

#6FA828 is a light, vivid yellow-green. Relative luminance 0.315; OKLCH L 66.8% C 0.166 H 131.1°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#6FA828
RGBrgb(111, 168, 40)
HSLhsl(87, 62%, 41%)
HSVhsv(87, 76%, 66%)
CMYKcmyk(33.9%, 0%, 76.2%, 34.1%)
CIE-LABlab(62.96, -38.35, 56.05)
CIE-LCHlch(62.96, 67.91, 124.38°)
OKLaboklab(66.78% -0.1088 0.1247)
OKLCHoklch(66.78% 0.166 131.1)
XYZxyz(20.9410, 31.5372, 6.9910)
Luminance0.3154 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FA828 #6128A8
analogous
#A8A128 #6FA828 #2FA828
triadic
#6FA828 #286FA8 #A8286F
tetradic
#6FA828 #28A8A1 #6128A8 #A8282F
square
#6FA828 #28A8A1 #6128A8 #A8282F
split-complementary
#6FA828 #282FA8 #A128A8
monochromatic
#2E4510 #4E771C #6FA828 #8FD13D #ABDC6E

Accessibility & contrast

On white

2.87
#6FA828 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#6FA828 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6FA828
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6FA828#FFFFFF#000000##000000
##6FA8281.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B09
Deuteranopia (green-blind)
#A89735
Tritanopia (blue-blind)
#71A190
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #6fa828;
/* rgb */ color: rgb(111, 168, 40);
/* oklch */ color: oklch(66.8% 0.166 131.1);
Tailwind
colors: {
  custom: {
    50: '#9dc26c',
    500: '#6fa828',
    950: '#000000',
  },
}
SCSS
$custom: #6fa828;
$custom-light: #9dc26c;
$custom-dark: #000000;
JSON
{
  "hex": "#6fa828",
  "rgb": {
    "r": 111,
    "g": 168,
    "b": 40
  },
  "hsl": {
    "h": 86.719,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66777,
    "c": 0.16551,
    "h": 131.1
  },
  "luminance": 0.31538
}

Semantic roles & 50–950 ramp

primary
#6FA828
secondary
#9169C3
accent
#43E58B
background
#FAFBF6
surface
#F3F7EC
border
#CDD0C7
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #6FA828

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

Preview Lab → · Contrast checker → · Palette generator →

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