#6D9D21#6D9D21

#6D9D21 is a light, vivid yellow-green. Relative luminance 0.275; OKLCH L 63.8% C 0.157 H 129.2°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#6D9D21
RGBrgb(109, 157, 33)
HSLhsl(83, 65%, 37%)
HSVhsv(83, 79%, 62%)
CMYKcmyk(30.6%, 0%, 79%, 38.4%)
CIE-LABlab(59.41, -34.56, 54.94)
CIE-LCHlch(59.41, 64.91, 122.17°)
OKLaboklab(63.85% -0.0989 0.1213)
OKLCHoklch(63.85% 0.157 129.2)
XYZxyz(18.6381, 27.4744, 5.7597)
Luminance0.2747 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D9D21 #51219D
analogous
#9D8F21 #6D9D21 #2F9D21
triadic
#6D9D21 #216D9D #9D216D
tetradic
#6D9D21 #219D8F #51219D #9D212F
square
#6D9D21 #219D8F #51219D #9D212F
split-complementary
#6D9D21 #212F9D #8F219D
monochromatic
#27380C #4A6A16 #6D9D21 #90D02C #ABDD5C

Accessibility & contrast

On white

3.23
#6D9D21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#6D9D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D9D21
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D9D21#FFFFFF#000000##000000
##6D9D211.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#9E8E2E
Tritanopia (blue-blind)
#709686
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #6d9d21;
/* rgb */ color: rgb(109, 157, 33);
/* oklch */ color: oklch(63.8% 0.157 129.2);
Tailwind
colors: {
  custom: {
    50: '#9bba67',
    500: '#6d9d21',
    950: '#000000',
  },
}
SCSS
$custom: #6d9d21;
$custom-light: #9bba67;
$custom-dark: #000000;
JSON
{
  "hex": "#6d9d21",
  "rgb": {
    "r": 109,
    "g": 157,
    "b": 33
  },
  "hsl": {
    "h": 83.226,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63845,
    "c": 0.15654,
    "h": 129.2
  },
  "luminance": 0.27475
}

Semantic roles & 50–950 ramp

primary
#6D9D21
secondary
#8159C1
accent
#40E881
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0F1107
muted
#7E807A

Preview Lab

Preview with #6D9D21

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

Preview Lab → · Contrast checker → · Palette generator →

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