#6F9D21#6F9D21

#6F9D21 is a light, vivid yellow-green. Relative luminance 0.276; OKLCH L 64.0% C 0.155 H 128.5°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#6F9D21
RGBrgb(111, 157, 33)
HSLhsl(82, 65%, 37%)
HSVhsv(82, 79%, 62%)
CMYKcmyk(29.3%, 0%, 79%, 38.4%)
CIE-LABlab(59.53, -33.78, 55.09)
CIE-LCHlch(59.53, 64.62, 121.51°)
OKLaboklab(63.97% -0.0969 0.1216)
OKLCHoklch(63.97% 0.155 128.5)
XYZxyz(18.8870, 27.6028, 5.7713)
Luminance0.2760 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F9D21 #4F219D
analogous
#9D8D21 #6F9D21 #319D21
triadic
#6F9D21 #216F9D #9D216F
tetradic
#6F9D21 #219D8D #4F219D #9D2131
square
#6F9D21 #219D8D #4F219D #9D2131
split-complementary
#6F9D21 #21319D #8D219D
monochromatic
#27380C #4B6A16 #6F9D21 #93D02C #ADDD5C

Accessibility & contrast

On white

3.22
#6F9D21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#6F9D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F9D21
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F9D21#FFFFFF#000000##000000
##6F9D211.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f9d21;
/* rgb */ color: rgb(111, 157, 33);
/* oklch */ color: oklch(64.0% 0.155 128.5);
Tailwind
colors: {
  custom: {
    50: '#9dba67',
    500: '#6f9d21',
    950: '#000000',
  },
}
SCSS
$custom: #6f9d21;
$custom-light: #9dba67;
$custom-dark: #000000;
JSON
{
  "hex": "#6f9d21",
  "rgb": {
    "r": 111,
    "g": 157,
    "b": 33
  },
  "hsl": {
    "h": 82.258,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63971,
    "c": 0.15549,
    "h": 128.5
  },
  "luminance": 0.27603
}

Semantic roles & 50–950 ramp

primary
#6F9D21
secondary
#7F59C1
accent
#40E87E
background
#FAFBF6
surface
#F3F6EB
border
#CDD0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #6F9D21

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

Preview Lab → · Contrast checker → · Palette generator →

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