#6BA623#6BA623

#6BA623 is a light, vivid yellow-green. Relative luminance 0.305; OKLCH L 66.0% C 0.168 H 131.5°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#6BA623
RGBrgb(107, 166, 35)
HSLhsl(87, 65%, 39%)
HSVhsv(87, 79%, 65%)
CMYKcmyk(35.5%, 0%, 78.9%, 34.9%)
CIE-LABlab(62.10, -39.23, 56.78)
CIE-LCHlch(62.10, 69.02, 124.64°)
OKLaboklab(66.01% -0.1112 0.1256)
OKLCHoklch(66.01% 0.168 131.5)
XYZxyz(20.0028, 30.5188, 6.4266)
Luminance0.3052 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BA623 #5E23A6
analogous
#A6A023 #6BA623 #2AA623
triadic
#6BA623 #236BA6 #A6236B
tetradic
#6BA623 #23A6A0 #5E23A6 #A6232A
square
#6BA623 #23A6A0 #5E23A6 #A6232A
split-complementary
#6BA623 #232AA6 #A023A6
monochromatic
#2A410E #4A7318 #6BA623 #8BD432 #A8DF65

Accessibility & contrast

On white

2.96
#6BA623 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#6BA623 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6BA623
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6BA623#FFFFFF#000000##000000
##6BA6231.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9900
Deuteranopia (green-blind)
#A59531
Tritanopia (blue-blind)
#6D9F8E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #6ba623;
/* rgb */ color: rgb(107, 166, 35);
/* oklch */ color: oklch(66.0% 0.168 131.5);
Tailwind
colors: {
  custom: {
    50: '#9ac169',
    500: '#6ba623',
    950: '#000000',
  },
}
SCSS
$custom: #6ba623;
$custom-light: #9ac169;
$custom-dark: #000000;
JSON
{
  "hex": "#6ba623",
  "rgb": {
    "r": 107,
    "g": 166,
    "b": 35
  },
  "hsl": {
    "h": 87.023,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6601,
    "c": 0.16777,
    "h": 131.5
  },
  "luminance": 0.3052
}

Semantic roles & 50–950 ramp

primary
#6BA623
secondary
#8D61C4
accent
#40E88C
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0F1207
muted
#7E817A

Preview Lab

Preview with #6BA623

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

Preview Lab → · Contrast checker → · Palette generator →

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