#6BA726#6BA726

#6BA726 is a light, vivid yellow-green. Relative luminance 0.309; OKLCH L 66.3% C 0.167 H 131.9°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#6BA726
RGBrgb(107, 167, 38)
HSLhsl(88, 63%, 40%)
HSVhsv(88, 77%, 65%)
CMYKcmyk(35.9%, 0%, 77.2%, 34.5%)
CIE-LABlab(62.43, -39.50, 56.13)
CIE-LCHlch(62.43, 68.64, 125.13°)
OKLaboklab(66.28% -0.1118 0.1247)
OKLCHoklch(66.28% 0.167 131.9)
XYZxyz(20.2318, 30.9023, 6.7321)
Luminance0.3090 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BA726 #6226A7
analogous
#A7A226 #6BA726 #2AA726
triadic
#6BA726 #266BA7 #A7266B
tetradic
#6BA726 #26A7A2 #6226A7 #A7262A
square
#6BA726 #26A7A2 #6226A7 #A7262A
split-complementary
#6BA726 #262AA7 #A226A7
monochromatic
#2B430F #4B751B #6BA726 #8AD238 #A8DD6A

Accessibility & contrast

On white

2.92
#6BA726 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#6BA726 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6BA726
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6BA726#FFFFFF#000000##000000
##6BA7261.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A04
Deuteranopia (green-blind)
#A69533
Tritanopia (blue-blind)
#6DA08F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #6ba726;
/* rgb */ color: rgb(107, 167, 38);
/* oklch */ color: oklch(66.3% 0.167 131.9);
Tailwind
colors: {
  custom: {
    50: '#9ac16b',
    500: '#6ba726',
    950: '#000000',
  },
}
SCSS
$custom: #6ba726;
$custom-light: #9ac16b;
$custom-dark: #000000;
JSON
{
  "hex": "#6ba726",
  "rgb": {
    "r": 107,
    "g": 167,
    "b": 38
  },
  "hsl": {
    "h": 87.907,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66282,
    "c": 0.16745,
    "h": 131.9
  },
  "luminance": 0.30903
}

Semantic roles & 50–950 ramp

primary
#6BA726
secondary
#9165C3
accent
#42E68E
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0F1207
muted
#7E817A

Preview Lab

Preview with #6BA726

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

Preview Lab → · Contrast checker → · Palette generator →

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