#6BA628#6BA628

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

Color values

HEX#6BA628
RGBrgb(107, 166, 40)
HSLhsl(88, 61%, 40%)
HSVhsv(88, 76%, 65%)
CMYKcmyk(35.5%, 0%, 75.9%, 34.9%)
CIE-LABlab(62.13, -38.95, 55.17)
CIE-LCHlch(62.13, 67.54, 125.22°)
OKLaboklab(66.04% -0.1101 0.123)
OKLCHoklch(66.04% 0.165 131.8)
XYZxyz(20.0824, 30.5506, 6.8458)
Luminance0.3055 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BA628 #6328A6
analogous
#A6A228 #6BA628 #2CA628
triadic
#6BA628 #286BA6 #A6286B
tetradic
#6BA628 #28A6A2 #6328A6 #A6282C
square
#6BA628 #28A6A2 #6328A6 #A6282C
split-complementary
#6BA628 #282CA6 #A228A6
monochromatic
#2B4310 #4B751C #6BA628 #8AD03B #A8DC6D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6BA628#FFFFFF#000000##000000
##6BA6281.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)
#AD990B
Deuteranopia (green-blind)
#A59535
Tritanopia (blue-blind)
#6D9F8E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #6ba628;
/* rgb */ color: rgb(107, 166, 40);
/* oklch */ color: oklch(66.0% 0.165 131.8);
Tailwind
colors: {
  custom: {
    50: '#9ac16c',
    500: '#6ba628',
    950: '#000000',
  },
}
SCSS
$custom: #6ba628;
$custom-light: #9ac16c;
$custom-dark: #000000;
JSON
{
  "hex": "#6ba628",
  "rgb": {
    "r": 107,
    "g": 166,
    "b": 40
  },
  "hsl": {
    "h": 88.095,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66041,
    "c": 0.1651,
    "h": 131.8
  },
  "luminance": 0.30551
}

Semantic roles & 50–950 ramp

primary
#6BA628
secondary
#9267C2
accent
#44E48F
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #6BA628

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

Preview Lab → · Contrast checker → · Palette generator →

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