#6CA831#6CA831

#6CA831 is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 66.7% C 0.162 H 132.6°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#6CA831
RGBrgb(108, 168, 49)
HSLhsl(90, 55%, 43%)
HSVhsv(90, 71%, 66%)
CMYKcmyk(35.7%, 0%, 70.8%, 34.1%)
CIE-LABlab(62.86, -38.87, 52.63)
CIE-LCHlch(62.86, 65.43, 126.45°)
OKLaboklab(66.67% -0.1093 0.119)
OKLCHoklch(66.67% 0.162 132.6)
XYZxyz(20.7411, 31.4143, 7.8759)
Luminance0.3141 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CA831 #6D31A8
analogous
#A8A831 #6CA831 #31A831
triadic
#6CA831 #316CA8 #A8316C
tetradic
#6CA831 #31A8A8 #6D31A8 #A83131
square
#6CA831 #31A8A8 #6D31A8 #A83131
split-complementary
#6CA831 #3131A8 #A831A8
monochromatic
#2F4915 #4E7923 #6CA831 #8BCB4C #A9D87B

Accessibility & contrast

On white

2.88
#6CA831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#6CA831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6CA831
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6CA831#FFFFFF#000000##000000
##6CA8311.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1E
Deuteranopia (green-blind)
#A7963C
Tritanopia (blue-blind)
#6DA190
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #6ca831;
/* rgb */ color: rgb(108, 168, 49);
/* oklch */ color: oklch(66.7% 0.162 132.6);
Tailwind
colors: {
  custom: {
    50: '#9bc270',
    500: '#6ca831',
    950: '#000000',
  },
}
SCSS
$custom: #6ca831;
$custom-light: #9bc270;
$custom-dark: #000000;
JSON
{
  "hex": "#6ca831",
  "rgb": {
    "r": 108,
    "g": 168,
    "b": 49
  },
  "hsl": {
    "h": 90.252,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66669,
    "c": 0.16158,
    "h": 132.6
  },
  "luminance": 0.31415
}

Semantic roles & 50–950 ramp

primary
#6CA831
secondary
#9B74C1
accent
#4ADE95
background
#F9FBF7
surface
#F2F7ED
border
#CCD0C8
text
#0E1208
muted
#7E817B

Preview Lab

Preview with #6CA831

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

Preview Lab → · Contrast checker → · Palette generator →

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