#6FAF28#6FAF28

#6FAF28 is a light, vivid yellow-green. Relative luminance 0.342; OKLCH L 68.5% C 0.174 H 132.2°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#6FAF28
RGBrgb(111, 175, 40)
HSLhsl(88, 63%, 42%)
HSVhsv(88, 77%, 69%)
CMYKcmyk(36.6%, 0%, 77.1%, 31.4%)
CIE-LABlab(65.11, -41.39, 58.11)
CIE-LCHlch(65.11, 71.35, 125.46°)
OKLaboklab(68.54% -0.117 0.1291)
OKLCHoklch(68.54% 0.174 132.2)
XYZxyz(22.2683, 34.1917, 7.4334)
Luminance0.3419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FAF28 #6828AF
analogous
#AFAB28 #6FAF28 #2CAF28
triadic
#6FAF28 #286FAF #AF286F
tetradic
#6FAF28 #28AFAB #6828AF #AF282C
square
#6FAF28 #28AFAB #6828AF #AF282C
split-complementary
#6FAF28 #282CAF #AB28AF
monochromatic
#304B11 #4F7D1D #6FAF28 #8ED441 #ACDF73

Accessibility & contrast

On white

2.68
#6FAF28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#6FAF28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6FAF28
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6FAF28#FFFFFF#000000##000000
##6FAF281.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A104
Deuteranopia (green-blind)
#AE9C36
Tritanopia (blue-blind)
#70A896
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #6faf28;
/* rgb */ color: rgb(111, 175, 40);
/* oklch */ color: oklch(68.5% 0.174 132.2);
Tailwind
colors: {
  custom: {
    50: '#9ec76d',
    500: '#6faf28',
    950: '#000000',
  },
}
SCSS
$custom: #6faf28;
$custom-light: #9ec76d;
$custom-dark: #000000;
JSON
{
  "hex": "#6faf28",
  "rgb": {
    "r": 111,
    "g": 175,
    "b": 40
  },
  "hsl": {
    "h": 88.444,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68537,
    "c": 0.17421,
    "h": 132.2
  },
  "luminance": 0.34193
}

Semantic roles & 50–950 ramp

primary
#6FAF28
secondary
#976DC6
accent
#42E690
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#0F1308
muted
#7F827B

Preview Lab

Preview with #6FAF28

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

Preview Lab → · Contrast checker → · Palette generator →

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