#6BA627#6BA627

#6BA627 is a light, vivid yellow-green. Relative luminance 0.305; OKLCH L 66.0% C 0.166 H 131.8°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#6BA627
RGBrgb(107, 166, 39)
HSLhsl(88, 62%, 40%)
HSVhsv(88, 77%, 65%)
CMYKcmyk(35.5%, 0%, 76.5%, 34.9%)
CIE-LABlab(62.12, -39.01, 55.51)
CIE-LCHlch(62.12, 67.84, 125.10°)
OKLaboklab(66.04% -0.1104 0.1235)
OKLCHoklch(66.04% 0.166 131.8)
XYZxyz(20.0656, 30.5439, 6.7574)
Luminance0.3054 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BA627 #6227A6
analogous
#A6A127 #6BA627 #2CA627
triadic
#6BA627 #276BA6 #A6276B
tetradic
#6BA627 #27A6A1 #6227A6 #A6272C
square
#6BA627 #27A6A1 #6227A6 #A6272C
split-complementary
#6BA627 #272CA6 #A127A6
monochromatic
#2B4310 #4B741B #6BA627 #8AD13A #A8DC6B

Accessibility & contrast

On white

2.95
#6BA627 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#6BA627 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6BA627
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6BA627#FFFFFF#000000##000000
##6BA6271.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9908
Deuteranopia (green-blind)
#A59534
Tritanopia (blue-blind)
#6D9F8E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #6ba627;
/* rgb */ color: rgb(107, 166, 39);
/* oklch */ color: oklch(66.0% 0.166 131.8);
Tailwind
colors: {
  custom: {
    50: '#9ac16b',
    500: '#6ba627',
    950: '#000000',
  },
}
SCSS
$custom: #6ba627;
$custom-light: #9ac16b;
$custom-dark: #000000;
JSON
{
  "hex": "#6ba627",
  "rgb": {
    "r": 107,
    "g": 166,
    "b": 39
  },
  "hsl": {
    "h": 87.874,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66035,
    "c": 0.16566,
    "h": 131.8
  },
  "luminance": 0.30545
}

Semantic roles & 50–950 ramp

primary
#6BA627
secondary
#9166C3
accent
#43E58E
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #6BA627

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

Preview Lab → · Contrast checker → · Palette generator →

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