#6D9731#6D9731

#6D9731 is a light, vivid yellow-green. Relative luminance 0.256; OKLCH L 62.5% C 0.139 H 129.0°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#6D9731
RGBrgb(109, 151, 49)
HSLhsl(85, 51%, 39%)
HSVhsv(85, 68%, 59%)
CMYKcmyk(27.8%, 0%, 67.5%, 40.8%)
CIE-LABlab(57.66, -30.76, 47.25)
CIE-LCHlch(57.66, 56.38, 123.06°)
OKLaboklab(62.46% -0.0872 0.1077)
OKLCHoklch(62.46% 0.139 129)
XYZxyz(17.9276, 25.6057, 6.9030)
Luminance0.2561 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D9731 #5B3197
analogous
#978E31 #6D9731 #3A9731
triadic
#6D9731 #316D97 #97316D
tetradic
#6D9731 #31978E #5B3197 #97313A
square
#6D9731 #31978E #5B3197 #97313A
split-complementary
#6D9731 #313A97 #8E3197
monochromatic
#2A3B13 #4C6922 #6D9731 #8EC243 #AAD171

Accessibility & contrast

On white

3.43
#6D9731 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#6D9731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D9731
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D9731#FFFFFF#000000##000000
##6D97311.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C23
Deuteranopia (green-blind)
#988A39
Tritanopia (blue-blind)
#709082
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #6d9731;
/* rgb */ color: rgb(109, 151, 49);
/* oklch */ color: oklch(62.5% 0.139 129.0);
Tailwind
colors: {
  custom: {
    50: '#9ab66f',
    500: '#6d9731',
    950: '#000000',
  },
}
SCSS
$custom: #6d9731;
$custom-light: #9ab66f;
$custom-dark: #000000;
JSON
{
  "hex": "#6d9731",
  "rgb": {
    "r": 109,
    "g": 151,
    "b": 49
  },
  "hsl": {
    "h": 84.706,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.62456,
    "c": 0.13858,
    "h": 129
  },
  "luminance": 0.25606
}

Semantic roles & 50–950 ramp

primary
#6D9731
secondary
#8B6BB9
accent
#4DDA87
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0E1108
muted
#7E807B

Preview Lab

Preview with #6D9731

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

Preview Lab → · Contrast checker → · Palette generator →

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