#6CA522#6CA522

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

Color values

HEX#6CA522
RGBrgb(108, 165, 34)
HSLhsl(86, 66%, 39%)
HSVhsv(86, 79%, 65%)
CMYKcmyk(34.5%, 0%, 79.4%, 35.3%)
CIE-LABlab(61.84, -38.47, 56.87)
CIE-LCHlch(61.84, 68.66, 124.08°)
OKLaboklab(65.81% -0.1093 0.1256)
OKLCHoklch(65.81% 0.167 131)
XYZxyz(19.9281, 30.2132, 6.2948)
Luminance0.3021 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CA522 #5B22A5
analogous
#A59D22 #6CA522 #2BA522
triadic
#6CA522 #226CA5 #A5226C
tetradic
#6CA522 #22A59D #5B22A5 #A5222B
square
#6CA522 #22A59D #5B22A5 #A5222B
split-complementary
#6CA522 #222BA5 #9D22A5
monochromatic
#2A400D #4B7218 #6CA522 #8DD430 #A9DF63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6CA522#FFFFFF#000000##000000
##6CA5221.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)
#AD9800
Deuteranopia (green-blind)
#A59430
Tritanopia (blue-blind)
#6E9E8D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #6ca522;
/* rgb */ color: rgb(108, 165, 34);
/* oklch */ color: oklch(65.8% 0.167 131.0);
Tailwind
colors: {
  custom: {
    50: '#9bc069',
    500: '#6ca522',
    950: '#000000',
  },
}
SCSS
$custom: #6ca522;
$custom-light: #9bc069;
$custom-dark: #000000;
JSON
{
  "hex": "#6ca522",
  "rgb": {
    "r": 108,
    "g": 165,
    "b": 34
  },
  "hsl": {
    "h": 86.107,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6581,
    "c": 0.1665,
    "h": 131
  },
  "luminance": 0.30214
}

Semantic roles & 50–950 ramp

primary
#6CA522
secondary
#8B5FC4
accent
#3FE989
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0F1207
muted
#7E817A

Preview Lab

Preview with #6CA522

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

Preview Lab → · Contrast checker → · Palette generator →

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