#6BA526#6BA526

#6BA526 is a light, vivid yellow-green. Relative luminance 0.302; OKLCH L 65.8% C 0.165 H 131.6°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#6BA526
RGBrgb(107, 165, 38)
HSLhsl(87, 63%, 40%)
HSVhsv(87, 77%, 65%)
CMYKcmyk(35.2%, 0%, 77%, 35.3%)
CIE-LABlab(61.81, -38.63, 55.54)
CIE-LCHlch(61.81, 67.65, 124.82°)
OKLaboklab(65.77% -0.1094 0.1234)
OKLCHoklch(65.77% 0.165 131.6)
XYZxyz(19.8682, 30.1752, 6.6109)
Luminance0.3018 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BA526 #6026A5
analogous
#A5A026 #6BA526 #2BA526
triadic
#6BA526 #266BA5 #A5266B
tetradic
#6BA526 #26A5A0 #6026A5 #A5262B
square
#6BA526 #26A5A0 #6026A5 #A5262B
split-complementary
#6BA526 #262BA5 #A026A5
monochromatic
#2A420F #4B731B #6BA526 #8BD137 #A8DC69

Accessibility & contrast

On white

2.98
#6BA526 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#6BA526 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6BA526
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6BA526#FFFFFF#000000##000000
##6BA5261.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9806
Deuteranopia (green-blind)
#A49433
Tritanopia (blue-blind)
#6D9E8D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #6ba526;
/* rgb */ color: rgb(107, 165, 38);
/* oklch */ color: oklch(65.8% 0.165 131.6);
Tailwind
colors: {
  custom: {
    50: '#9ac06a',
    500: '#6ba526',
    950: '#000000',
  },
}
SCSS
$custom: #6ba526;
$custom-light: #9ac06a;
$custom-dark: #000000;
JSON
{
  "hex": "#6ba526",
  "rgb": {
    "r": 107,
    "g": 165,
    "b": 38
  },
  "hsl": {
    "h": 87.402,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.65775,
    "c": 0.16496,
    "h": 131.6
  },
  "luminance": 0.30176
}

Semantic roles & 50–950 ramp

primary
#6BA526
secondary
#8F64C3
accent
#42E68D
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #6BA526

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

Preview Lab → · Contrast checker → · Palette generator →

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