#6A9728#6A9728

#6A9728 is a light, vivid yellow-green. Relative luminance 0.254; OKLCH L 62.2% C 0.146 H 129.3°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#6A9728
RGBrgb(106, 151, 40)
HSLhsl(84, 58%, 37%)
HSVhsv(84, 74%, 59%)
CMYKcmyk(29.8%, 0%, 73.5%, 40.8%)
CIE-LABlab(57.41, -32.57, 50.54)
CIE-LCHlch(57.41, 60.13, 122.80°)
OKLaboklab(62.19% -0.0928 0.1133)
OKLCHoklch(62.19% 0.146 129.3)
XYZxyz(17.3934, 25.3501, 5.9837)
Luminance0.2535 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A9728 #552897
analogous
#978C28 #6A9728 #339728
triadic
#6A9728 #286A97 #97286A
tetradic
#6A9728 #28978C #552897 #972833
square
#6A9728 #28978C #552897 #972833
split-complementary
#6A9728 #283397 #8C2897
monochromatic
#26360E #48671B #6A9728 #8CC735 #A8D664

Accessibility & contrast

On white

3.46
#6A9728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#6A9728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A9728
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A9728#FFFFFF#000000##000000
##6A97281.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C14
Deuteranopia (green-blind)
#988932
Tritanopia (blue-blind)
#6D9081
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #6a9728;
/* rgb */ color: rgb(106, 151, 40);
/* oklch */ color: oklch(62.2% 0.146 129.3);
Tailwind
colors: {
  custom: {
    50: '#98b66a',
    500: '#6a9728',
    950: '#000000',
  },
}
SCSS
$custom: #6a9728;
$custom-light: #98b66a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a9728",
  "rgb": {
    "r": 106,
    "g": 151,
    "b": 40
  },
  "hsl": {
    "h": 84.324,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62187,
    "c": 0.14643,
    "h": 129.3
  },
  "luminance": 0.25351
}

Semantic roles & 50–950 ramp

primary
#6A9728
secondary
#855FBC
accent
#46E185
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1107
muted
#7E807A

Preview Lab

Preview with #6A9728

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

Preview Lab → · Contrast checker → · Palette generator →

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