#6C9526#6C9526

#6C9526 is a mid, vivid yellow-green. Relative luminance 0.248; OKLCH L 61.8% C 0.144 H 128.0°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#6C9526
RGBrgb(108, 149, 38)
HSLhsl(82, 59%, 37%)
HSVhsv(82, 74%, 58%)
CMYKcmyk(27.5%, 0%, 74.5%, 41.6%)
CIE-LABlab(56.90, -30.97, 50.81)
CIE-LCHlch(56.90, 59.51, 121.36°)
OKLaboklab(61.8% -0.0887 0.1135)
OKLCHoklch(61.8% 0.144 128)
XYZxyz(17.2816, 24.8226, 5.7141)
Luminance0.2482 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C9526 #4F2695
analogous
#958726 #6C9526 #359526
triadic
#6C9526 #266C95 #95266C
tetradic
#6C9526 #269587 #4F2695 #952635
square
#6C9526 #269587 #4F2695 #952635
split-complementary
#6C9526 #263595 #872695
monochromatic
#25330D #49641A #6C9526 #8FC632 #AAD65F

Accessibility & contrast

On white

3.52
#6C9526 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#6C9526 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C9526
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C9526#FFFFFF#000000##000000
##6C95261.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A10
Deuteranopia (green-blind)
#978830
Tritanopia (blue-blind)
#708E80
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #6c9526;
/* rgb */ color: rgb(108, 149, 38);
/* oklch */ color: oklch(61.8% 0.144 128.0);
Tailwind
colors: {
  custom: {
    50: '#9ab468',
    500: '#6c9526',
    950: '#000000',
  },
}
SCSS
$custom: #6c9526;
$custom-light: #9ab468;
$custom-dark: #000000;
JSON
{
  "hex": "#6c9526",
  "rgb": {
    "r": 108,
    "g": 149,
    "b": 38
  },
  "hsl": {
    "h": 82.162,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61798,
    "c": 0.14406,
    "h": 128
  },
  "luminance": 0.24823
}

Semantic roles & 50–950 ramp

primary
#6C9526
secondary
#7F5BBB
accent
#45E37F
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1107
muted
#7E807A

Preview Lab

Preview with #6C9526

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

Preview Lab → · Contrast checker → · Palette generator →

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