#6BA128#6BA128

#6BA128 is a light, vivid yellow-green. Relative luminance 0.288; OKLCH L 64.8% C 0.159 H 131.0°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#6BA128
RGBrgb(107, 161, 40)
HSLhsl(87, 60%, 39%)
HSVhsv(87, 75%, 63%)
CMYKcmyk(33.5%, 0%, 75.2%, 36.9%)
CIE-LABlab(60.58, -36.74, 53.67)
CIE-LCHlch(60.58, 65.04, 124.39°)
OKLaboklab(64.78% -0.1042 0.1198)
OKLCHoklch(64.78% 0.159 131)
XYZxyz(19.1911, 28.7681, 6.5487)
Luminance0.2877 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BA128 #5E28A1
analogous
#A19B28 #6BA128 #2EA128
triadic
#6BA128 #286BA1 #A1286B
tetradic
#6BA128 #28A19B #5E28A1 #A1282E
square
#6BA128 #28A19B #5E28A1 #A1282E
split-complementary
#6BA128 #282EA1 #9B28A1
monochromatic
#2A3F10 #4A701C #6BA128 #8BCE39 #A8DA6A

Accessibility & contrast

On white

3.11
#6BA128 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#6BA128 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6BA128
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6BA128#FFFFFF#000000##000000
##6BA1281.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8950F
Deuteranopia (green-blind)
#A19134
Tritanopia (blue-blind)
#6D9A8A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #6ba128;
/* rgb */ color: rgb(107, 161, 40);
/* oklch */ color: oklch(64.8% 0.159 131.0);
Tailwind
colors: {
  custom: {
    50: '#9abd6b',
    500: '#6ba128',
    950: '#000000',
  },
}
SCSS
$custom: #6ba128;
$custom-light: #9abd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#6ba128",
  "rgb": {
    "r": 107,
    "g": 161,
    "b": 40
  },
  "hsl": {
    "h": 86.777,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64777,
    "c": 0.15877,
    "h": 131
  },
  "luminance": 0.28769
}

Semantic roles & 50–950 ramp

primary
#6BA128
secondary
#8D65C0
accent
#44E38B
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #6BA128

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

Preview Lab → · Contrast checker → · Palette generator →

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