#6BA527#6BA527

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

Color values

HEX#6BA527
RGBrgb(107, 165, 39)
HSLhsl(88, 62%, 40%)
HSVhsv(88, 76%, 65%)
CMYKcmyk(35.2%, 0%, 76.4%, 35.3%)
CIE-LABlab(61.81, -38.57, 55.21)
CIE-LCHlch(61.81, 67.35, 124.94°)
OKLaboklab(65.78% -0.1092 0.1229)
OKLCHoklch(65.78% 0.164 131.6)
XYZxyz(19.8845, 30.1818, 6.6970)
Luminance0.3018 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BA527 #6127A5
analogous
#A5A027 #6BA527 #2CA527
triadic
#6BA527 #276BA5 #A5276B
tetradic
#6BA527 #27A5A0 #6127A5 #A5272C
square
#6BA527 #27A5A0 #6127A5 #A5272C
split-complementary
#6BA527 #272CA5 #A027A5
monochromatic
#2B4210 #4B741B #6BA527 #8BD039 #A8DC6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6BA527#FFFFFF#000000##000000
##6BA5271.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)
#AC9809
Deuteranopia (green-blind)
#A49434
Tritanopia (blue-blind)
#6D9E8D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #6ba527;
/* rgb */ color: rgb(107, 165, 39);
/* oklch */ color: oklch(65.8% 0.164 131.6);
Tailwind
colors: {
  custom: {
    50: '#9ac06b',
    500: '#6ba527',
    950: '#000000',
  },
}
SCSS
$custom: #6ba527;
$custom-light: #9ac06b;
$custom-dark: #000000;
JSON
{
  "hex": "#6ba527",
  "rgb": {
    "r": 107,
    "g": 165,
    "b": 39
  },
  "hsl": {
    "h": 87.619,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.65782,
    "c": 0.1644,
    "h": 131.6
  },
  "luminance": 0.30183
}

Semantic roles & 50–950 ramp

primary
#6BA527
secondary
#9066C2
accent
#43E58D
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #6BA527

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

Preview Lab → · Contrast checker → · Palette generator →

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