#6BA228#6BA228

#6BA228 is a light, vivid yellow-green. Relative luminance 0.291; OKLCH L 65.0% C 0.160 H 131.2°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#6BA228
RGBrgb(107, 162, 40)
HSLhsl(87, 60%, 40%)
HSVhsv(87, 75%, 64%)
CMYKcmyk(34%, 0%, 75.3%, 36.5%)
CIE-LABlab(60.89, -37.19, 53.97)
CIE-LCHlch(60.89, 65.54, 124.57°)
OKLaboklab(65.03% -0.1054 0.1205)
OKLCHoklch(65.03% 0.16 131.2)
XYZxyz(19.3666, 29.1190, 6.6072)
Luminance0.2912 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BA228 #5F28A2
analogous
#A29C28 #6BA228 #2EA228
triadic
#6BA228 #286BA2 #A2286B
tetradic
#6BA228 #28A29C #5F28A2 #A2282E
square
#6BA228 #28A29C #5F28A2 #A2282E
split-complementary
#6BA228 #282EA2 #9C28A2
monochromatic
#2A4010 #4B711C #6BA228 #8BCE39 #A8DA6A

Accessibility & contrast

On white

3.08
#6BA228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#6BA228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6BA228
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6BA228#FFFFFF#000000##000000
##6BA2281.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9960E
Deuteranopia (green-blind)
#A29134
Tritanopia (blue-blind)
#6D9B8B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #6ba228;
/* rgb */ color: rgb(107, 162, 40);
/* oklch */ color: oklch(65.0% 0.160 131.2);
Tailwind
colors: {
  custom: {
    50: '#9abe6b',
    500: '#6ba228',
    950: '#000000',
  },
}
SCSS
$custom: #6ba228;
$custom-light: #9abe6b;
$custom-dark: #000000;
JSON
{
  "hex": "#6ba228",
  "rgb": {
    "r": 107,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 87.049,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.6503,
    "c": 0.16004,
    "h": 131.2
  },
  "luminance": 0.2912
}

Semantic roles & 50–950 ramp

primary
#6BA228
secondary
#8E65C1
accent
#44E48C
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #6BA228

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

Preview Lab → · Contrast checker → · Palette generator →

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