#6BA528#6BA528

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

Color values

HEX#6BA528
RGBrgb(107, 165, 40)
HSLhsl(88, 61%, 40%)
HSVhsv(88, 76%, 65%)
CMYKcmyk(35.2%, 0%, 75.8%, 35.3%)
CIE-LABlab(61.82, -38.51, 54.87)
CIE-LCHlch(61.82, 67.04, 125.06°)
OKLaboklab(65.79% -0.109 0.1224)
OKLCHoklch(65.79% 0.164 131.7)
XYZxyz(19.9013, 30.1885, 6.7855)
Luminance0.3019 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BA528 #6228A5
analogous
#A5A128 #6BA528 #2CA528
triadic
#6BA528 #286BA5 #A5286B
tetradic
#6BA528 #28A5A1 #6228A5 #A5282C
square
#6BA528 #28A5A1 #6228A5 #A5282C
split-complementary
#6BA528 #282CA5 #A128A5
monochromatic
#2B4210 #4B741C #6BA528 #8ACF3B #A8DB6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6BA528#FFFFFF#000000##000000
##6BA5281.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)
#AC980C
Deuteranopia (green-blind)
#A49435
Tritanopia (blue-blind)
#6D9E8D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #6ba528;
/* rgb */ color: rgb(107, 165, 40);
/* oklch */ color: oklch(65.8% 0.164 131.7);
Tailwind
colors: {
  custom: {
    50: '#9ac06b',
    500: '#6ba528',
    950: '#000000',
  },
}
SCSS
$custom: #6ba528;
$custom-light: #9ac06b;
$custom-dark: #000000;
JSON
{
  "hex": "#6ba528",
  "rgb": {
    "r": 107,
    "g": 165,
    "b": 40
  },
  "hsl": {
    "h": 87.84,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65788,
    "c": 0.16383,
    "h": 131.7
  },
  "luminance": 0.30189
}

Semantic roles & 50–950 ramp

primary
#6BA528
secondary
#9167C2
accent
#44E48E
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #6BA528

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

Preview Lab → · Contrast checker → · Palette generator →

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