#6BAF28#6BAF28

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

Color values

HEX#6BAF28
RGBrgb(107, 175, 40)
HSLhsl(90, 63%, 42%)
HSVhsv(90, 77%, 69%)
CMYKcmyk(38.9%, 0%, 77.1%, 31.4%)
CIE-LABlab(64.91, -42.81, 57.85)
CIE-LCHlch(64.91, 71.97, 126.50°)
OKLaboklab(68.32% -0.1206 0.1286)
OKLCHoklch(68.32% 0.176 133.2)
XYZxyz(21.7761, 33.9379, 7.4104)
Luminance0.3394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BAF28 #6C28AF
analogous
#AFAF28 #6BAF28 #28AF28
triadic
#6BAF28 #286BAF #AF286B
tetradic
#6BAF28 #28AFAF #6C28AF #AF2828
square
#6BAF28 #28AFAF #6C28AF #AF2828
split-complementary
#6BAF28 #2828AF #AF28AF
monochromatic
#2E4B11 #4D7D1D #6BAF28 #8AD441 #A8DF73

Accessibility & contrast

On white

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

On black

7.79
#6BAF28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6BAF28
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6BAF28#FFFFFF#000000##000000
##6BAF281.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6baf28;
/* rgb */ color: rgb(107, 175, 40);
/* oklch */ color: oklch(68.3% 0.176 133.2);
Tailwind
colors: {
  custom: {
    50: '#9bc76d',
    500: '#6baf28',
    950: '#000000',
  },
}
SCSS
$custom: #6baf28;
$custom-light: #9bc76d;
$custom-dark: #000000;
JSON
{
  "hex": "#6baf28",
  "rgb": {
    "r": 107,
    "g": 175,
    "b": 40
  },
  "hsl": {
    "h": 90.222,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68319,
    "c": 0.17629,
    "h": 133.2
  },
  "luminance": 0.33939
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6BAF28

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

Preview Lab → · Contrast checker → · Palette generator →

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