#6BA42D#6BA42D

#6BA42D is a light, vivid yellow-green. Relative luminance 0.299; OKLCH L 65.6% C 0.160 H 131.9°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#6BA42D
RGBrgb(107, 164, 45)
HSLhsl(89, 57%, 41%)
HSVhsv(89, 73%, 64%)
CMYKcmyk(34.8%, 0%, 72.6%, 35.7%)
CIE-LABlab(61.54, -37.75, 52.80)
CIE-LCHlch(61.54, 64.91, 125.57°)
OKLaboklab(65.57% -0.1065 0.1188)
OKLCHoklch(65.57% 0.16 131.9)
XYZxyz(19.8123, 29.8654, 7.2028)
Luminance0.2987 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BA42D #662DA4
analogous
#A4A12D #6BA42D #30A42D
triadic
#6BA42D #2D6BA4 #A42D6B
tetradic
#6BA42D #2DA4A1 #662DA4 #A42D30
square
#6BA42D #2DA4A1 #662DA4 #A42D30
split-complementary
#6BA42D #2D30A4 #A12DA4
monochromatic
#2C4413 #4C7420 #6BA42D #8ACB43 #A8D973

Accessibility & contrast

On white

3.01
#6BA42D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#6BA42D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6BA42D
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6BA42D#FFFFFF#000000##000000
##6BA42D1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9718
Deuteranopia (green-blind)
#A39338
Tritanopia (blue-blind)
#6C9D8D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #6ba42d;
/* rgb */ color: rgb(107, 164, 45);
/* oklch */ color: oklch(65.6% 0.160 131.9);
Tailwind
colors: {
  custom: {
    50: '#9abf6e',
    500: '#6ba42d',
    950: '#000000',
  },
}
SCSS
$custom: #6ba42d;
$custom-light: #9abf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#6ba42d",
  "rgb": {
    "r": 107,
    "g": 164,
    "b": 45
  },
  "hsl": {
    "h": 88.739,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.65571,
    "c": 0.15955,
    "h": 131.9
  },
  "luminance": 0.29866
}

Semantic roles & 50–950 ramp

primary
#6BA42D
secondary
#956DC0
accent
#48E091
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0E1208
muted
#7E817B

Preview Lab

Preview with #6BA42D

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

Preview Lab → · Contrast checker → · Palette generator →

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