#6BA021#6BA021

#6BA021 is a light, vivid yellow-green. Relative luminance 0.284; OKLCH L 64.5% C 0.161 H 130.4°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#6BA021
RGBrgb(107, 160, 33)
HSLhsl(85, 66%, 38%)
HSVhsv(85, 79%, 63%)
CMYKcmyk(33.1%, 0%, 79.4%, 37.3%)
CIE-LABlab(60.23, -36.68, 55.66)
CIE-LCHlch(60.23, 66.66, 123.39°)
OKLaboklab(64.48% -0.1045 0.1229)
OKLCHoklch(64.48% 0.161 130.4)
XYZxyz(18.9086, 28.3766, 5.9195)
Luminance0.2838 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BA021 #5621A0
analogous
#A09521 #6BA021 #2CA021
triadic
#6BA021 #216BA0 #A0216B
tetradic
#6BA021 #21A095 #5621A0 #A0212C
square
#6BA021 #21A095 #5621A0 #A0212C
split-complementary
#6BA021 #212CA0 #9521A0
monochromatic
#273B0C #496D17 #6BA021 #8DD32B #A8DE5E

Accessibility & contrast

On white

3.15
#6BA021 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#6BA021 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6BA021
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6BA021#FFFFFF#000000##000000
##6BA0211.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A0902F
Tritanopia (blue-blind)
#6E9989
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #6ba021;
/* rgb */ color: rgb(107, 160, 33);
/* oklch */ color: oklch(64.5% 0.161 130.4);
Tailwind
colors: {
  custom: {
    50: '#9abc68',
    500: '#6ba021',
    950: '#000000',
  },
}
SCSS
$custom: #6ba021;
$custom-light: #9abc68;
$custom-dark: #000000;
JSON
{
  "hex": "#6ba021",
  "rgb": {
    "r": 107,
    "g": 160,
    "b": 33
  },
  "hsl": {
    "h": 85.039,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.6448,
    "c": 0.16134,
    "h": 130.4
  },
  "luminance": 0.28377
}

Semantic roles & 50–950 ramp

primary
#6BA021
secondary
#865BC2
accent
#3FE986
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #6BA021

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

Preview Lab → · Contrast checker → · Palette generator →

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