#6AAF28#6AAF28

#6AAF28 is a light, vivid yellow-green. Relative luminance 0.339; OKLCH L 68.3% C 0.177 H 133.4°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#6AAF28
RGBrgb(106, 175, 40)
HSLhsl(91, 63%, 42%)
HSVhsv(91, 77%, 69%)
CMYKcmyk(39.4%, 0%, 77.1%, 31.4%)
CIE-LABlab(64.86, -43.16, 57.79)
CIE-LCHlch(64.86, 72.13, 126.76°)
OKLaboklab(68.27% -0.1215 0.1285)
OKLCHoklch(68.27% 0.177 133.4)
XYZxyz(21.6565, 33.8763, 7.4048)
Luminance0.3388 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6AAF28 #6D28AF
analogous
#AEAF28 #6AAF28 #28AF2A
triadic
#6AAF28 #286AAF #AF286A
tetradic
#6AAF28 #28AEAF #6D28AF #AF2A28
square
#6AAF28 #28AEAF #6D28AF #AF2A28
split-complementary
#6AAF28 #2A28AF #AF28AE
monochromatic
#2E4B11 #4C7D1D #6AAF28 #88D441 #A7DF73

Accessibility & contrast

On white

2.70
#6AAF28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#6AAF28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6AAF28
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6AAF28#FFFFFF#000000##000000
##6AAF281.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A104
Deuteranopia (green-blind)
#AD9B36
Tritanopia (blue-blind)
#6AA896
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #6aaf28;
/* rgb */ color: rgb(106, 175, 40);
/* oklch */ color: oklch(68.3% 0.177 133.4);
Tailwind
colors: {
  custom: {
    50: '#9ac76d',
    500: '#6aaf28',
    950: '#000000',
  },
}
SCSS
$custom: #6aaf28;
$custom-light: #9ac76d;
$custom-dark: #000000;
JSON
{
  "hex": "#6aaf28",
  "rgb": {
    "r": 106,
    "g": 175,
    "b": 40
  },
  "hsl": {
    "h": 90.667,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68265,
    "c": 0.1768,
    "h": 133.4
  },
  "luminance": 0.33877
}

Semantic roles & 50–950 ramp

primary
#6AAF28
secondary
#9A6DC6
accent
#42E696
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0F1308
muted
#7E827B

Preview Lab

Preview with #6AAF28

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

Preview Lab → · Contrast checker → · Palette generator →

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