#6BAF27#6BAF27

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

Color values

HEX#6BAF27
RGBrgb(107, 175, 39)
HSLhsl(90, 64%, 42%)
HSVhsv(90, 78%, 69%)
CMYKcmyk(38.9%, 0%, 77.7%, 31.4%)
CIE-LABlab(64.91, -42.87, 58.17)
CIE-LCHlch(64.91, 72.26, 126.39°)
OKLaboklab(68.31% -0.1208 0.1291)
OKLCHoklch(68.31% 0.177 133.1)
XYZxyz(21.7593, 33.9312, 7.3219)
Luminance0.3393 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BAF27 #6B27AF
analogous
#AFAF27 #6BAF27 #27AF27
triadic
#6BAF27 #276BAF #AF276B
tetradic
#6BAF27 #27AFAF #6B27AF #AF2727
square
#6BAF27 #27AFAF #6B27AF #AF2727
split-complementary
#6BAF27 #2727AF #AF27AF
monochromatic
#2E4B11 #4C7D1C #6BAF27 #8AD43F #A8DF71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6BAF27#FFFFFF#000000##000000
##6BAF271.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)
#B6A100
Deuteranopia (green-blind)
#AD9C36
Tritanopia (blue-blind)
#6BA896
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #6baf27;
/* rgb */ color: rgb(107, 175, 39);
/* oklch */ color: oklch(68.3% 0.177 133.1);
Tailwind
colors: {
  custom: {
    50: '#9bc76c',
    500: '#6baf27',
    950: '#000000',
  },
}
SCSS
$custom: #6baf27;
$custom-light: #9bc76c;
$custom-dark: #000000;
JSON
{
  "hex": "#6baf27",
  "rgb": {
    "r": 107,
    "g": 175,
    "b": 39
  },
  "hsl": {
    "h": 90,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68313,
    "c": 0.17681,
    "h": 133.1
  },
  "luminance": 0.33932
}

Semantic roles & 50–950 ramp

primary
#6BAF27
secondary
#996BC6
accent
#41E794
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0F1307
muted
#7E827A

Preview Lab

Preview with #6BAF27

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

Preview Lab → · Contrast checker → · Palette generator →

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