#6BA12D#6BA12D

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

Color values

HEX#6BA12D
RGBrgb(107, 161, 45)
HSLhsl(88, 56%, 40%)
HSVhsv(88, 72%, 63%)
CMYKcmyk(33.5%, 0%, 72%, 36.9%)
CIE-LABlab(60.61, -36.42, 51.86)
CIE-LCHlch(60.61, 63.37, 125.08°)
OKLaboklab(64.81% -0.1029 0.1168)
OKLCHoklch(64.81% 0.156 131.4)
XYZxyz(19.2817, 28.8043, 7.0260)
Luminance0.2880 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BA12D #632DA1
analogous
#A19D2D #6BA12D #31A12D
triadic
#6BA12D #2D6BA1 #A12D6B
tetradic
#6BA12D #2DA19D #632DA1 #A12D31
square
#6BA12D #2DA19D #632DA1 #A12D31
split-complementary
#6BA12D #2D31A1 #9D2DA1
monochromatic
#2B4112 #4B7120 #6BA12D #8ACA41 #A8D771

Accessibility & contrast

On white

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

On black

6.76
#6BA12D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6BA12D
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6BA12D#FFFFFF#000000##000000
##6BA12D1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6ba12d;
/* rgb */ color: rgb(107, 161, 45);
/* oklch */ color: oklch(64.8% 0.156 131.4);
Tailwind
colors: {
  custom: {
    50: '#9abd6d',
    500: '#6ba12d',
    950: '#000000',
  },
}
SCSS
$custom: #6ba12d;
$custom-light: #9abd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#6ba12d",
  "rgb": {
    "r": 107,
    "g": 161,
    "b": 45
  },
  "hsl": {
    "h": 87.931,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.64813,
    "c": 0.15568,
    "h": 131.4
  },
  "luminance": 0.28805
}

Semantic roles & 50–950 ramp

primary
#6BA12D
secondary
#926BBF
accent
#48E08F
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #6BA12D

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

Preview Lab → · Contrast checker → · Palette generator →

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