#6CA526#6CA526

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

Color values

HEX#6CA526
RGBrgb(108, 165, 38)
HSLhsl(87, 63%, 40%)
HSVhsv(87, 77%, 65%)
CMYKcmyk(34.5%, 0%, 77%, 35.3%)
CIE-LABlab(61.86, -38.26, 55.61)
CIE-LCHlch(61.86, 67.50, 124.53°)
OKLaboklab(65.83% -0.1085 0.1236)
OKLCHoklch(65.83% 0.164 131.3)
XYZxyz(19.9892, 30.2376, 6.6166)
Luminance0.3024 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CA526 #5F26A5
analogous
#A59F26 #6CA526 #2CA526
triadic
#6CA526 #266CA5 #A5266C
tetradic
#6CA526 #26A59F #5F26A5 #A5262C
square
#6CA526 #26A59F #5F26A5 #A5262C
split-complementary
#6CA526 #262CA5 #9F26A5
monochromatic
#2B420F #4B731B #6CA526 #8CD137 #A9DC69

Accessibility & contrast

On white

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

On black

7.05
#6CA526 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6CA526
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6CA526#FFFFFF#000000##000000
##6CA5261.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6ca526;
/* rgb */ color: rgb(108, 165, 38);
/* oklch */ color: oklch(65.8% 0.164 131.3);
Tailwind
colors: {
  custom: {
    50: '#9bc06a',
    500: '#6ca526',
    950: '#000000',
  },
}
SCSS
$custom: #6ca526;
$custom-light: #9bc06a;
$custom-dark: #000000;
JSON
{
  "hex": "#6ca526",
  "rgb": {
    "r": 108,
    "g": 165,
    "b": 38
  },
  "hsl": {
    "h": 86.929,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.65833,
    "c": 0.16442,
    "h": 131.3
  },
  "luminance": 0.30238
}

Semantic roles & 50–950 ramp

primary
#6CA526
secondary
#8F64C3
accent
#42E68C
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0F1207
muted
#7E817A

Preview Lab

Preview with #6CA526

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

Preview Lab → · Contrast checker → · Palette generator →

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