#6BA421#6BA421

#6BA421 is a light, vivid yellow-green. Relative luminance 0.298; OKLCH L 65.5% C 0.166 H 131.1°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#6BA421
RGBrgb(107, 164, 33)
HSLhsl(86, 66%, 39%)
HSVhsv(86, 80%, 64%)
CMYKcmyk(34.8%, 0%, 79.9%, 35.7%)
CIE-LABlab(61.47, -38.45, 56.81)
CIE-LCHlch(61.47, 68.60, 124.09°)
OKLaboklab(65.49% -0.1093 0.1253)
OKLCHoklch(65.49% 0.166 131.1)
XYZxyz(19.6132, 29.7858, 6.1544)
Luminance0.2979 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BA421 #5A21A4
analogous
#A49B21 #6BA421 #29A421
triadic
#6BA421 #216BA4 #A4216B
tetradic
#6BA421 #21A49B #5A21A4 #A42129
square
#6BA421 #21A49B #5A21A4 #A42129
split-complementary
#6BA421 #2129A4 #9B21A4
monochromatic
#293E0C #4A7117 #6BA421 #8CD52D #A8DF60

Accessibility & contrast

On white

3.02
#6BA421 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#6BA421 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6BA421
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6BA421#FFFFFF#000000##000000
##6BA4211.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#A4932F
Tritanopia (blue-blind)
#6D9D8C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #6ba421;
/* rgb */ color: rgb(107, 164, 33);
/* oklch */ color: oklch(65.5% 0.166 131.1);
Tailwind
colors: {
  custom: {
    50: '#9abf68',
    500: '#6ba421',
    950: '#000000',
  },
}
SCSS
$custom: #6ba421;
$custom-light: #9abf68;
$custom-dark: #000000;
JSON
{
  "hex": "#6ba421",
  "rgb": {
    "r": 107,
    "g": 164,
    "b": 33
  },
  "hsl": {
    "h": 86.107,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.65493,
    "c": 0.16629,
    "h": 131.1
  },
  "luminance": 0.29787
}

Semantic roles & 50–950 ramp

primary
#6BA421
secondary
#8A5DC4
accent
#3EE989
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0F1207
muted
#7E817A

Preview Lab

Preview with #6BA421

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

Preview Lab → · Contrast checker → · Palette generator →

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