#6D9C21#6D9C21

#6D9C21 is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.6% C 0.155 H 129.0°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#6D9C21
RGBrgb(109, 156, 33)
HSLhsl(83, 65%, 37%)
HSVhsv(83, 79%, 61%)
CMYKcmyk(30.1%, 0%, 78.8%, 38.8%)
CIE-LABlab(59.10, -34.10, 54.65)
CIE-LCHlch(59.10, 64.42, 121.97°)
OKLaboklab(63.59% -0.0977 0.1207)
OKLCHoklch(63.59% 0.155 129)
XYZxyz(18.4696, 27.1374, 5.7035)
Luminance0.2714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D9C21 #50219C
analogous
#9C8E21 #6D9C21 #309C21
triadic
#6D9C21 #216D9C #9C216D
tetradic
#6D9C21 #219C8E #50219C #9C2130
square
#6D9C21 #219C8E #50219C #9C2130
split-complementary
#6D9C21 #21309C #8E219C
monochromatic
#26370C #4A6916 #6D9C21 #90CF2C #ABDC5B

Accessibility & contrast

On white

3.27
#6D9C21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#6D9C21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D9C21
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D9C21#FFFFFF#000000##000000
##6D9C211.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#9D8D2E
Tritanopia (blue-blind)
#719585
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6d9c21;
/* rgb */ color: rgb(109, 156, 33);
/* oklch */ color: oklch(63.6% 0.155 129.0);
Tailwind
colors: {
  custom: {
    50: '#9bb967',
    500: '#6d9c21',
    950: '#000000',
  },
}
SCSS
$custom: #6d9c21;
$custom-light: #9bb967;
$custom-dark: #000000;
JSON
{
  "hex": "#6d9c21",
  "rgb": {
    "r": 109,
    "g": 156,
    "b": 33
  },
  "hsl": {
    "h": 82.927,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63593,
    "c": 0.15529,
    "h": 129
  },
  "luminance": 0.27138
}

Semantic roles & 50–950 ramp

primary
#6D9C21
secondary
#8058C1
accent
#40E880
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0F1106
muted
#7E807A

Preview Lab

Preview with #6D9C21

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

Preview Lab → · Contrast checker → · Palette generator →

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