#6B9821#6B9821

#6B9821 is a light, vivid yellow-green. Relative luminance 0.257; OKLCH L 62.5% C 0.151 H 128.7°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#6B9821
RGBrgb(107, 152, 33)
HSLhsl(83, 64%, 36%)
HSVhsv(83, 78%, 60%)
CMYKcmyk(29.6%, 0%, 78.3%, 40.4%)
CIE-LABlab(57.74, -33.05, 53.34)
CIE-LCHlch(57.74, 62.75, 121.79°)
OKLaboklab(62.46% -0.0947 0.118)
OKLCHoklch(62.46% 0.151 128.7)
XYZxyz(17.5661, 25.6916, 5.4720)
Luminance0.2569 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B9821 #4E2198
analogous
#988A21 #6B9821 #309821
triadic
#6B9821 #216B98 #98216B
tetradic
#6B9821 #21988A #4E2198 #982130
square
#6B9821 #21988A #4E2198 #982130
split-complementary
#6B9821 #213098 #8A2198
monochromatic
#24330B #486616 #6B9821 #8ECA2C #AADB59

Accessibility & contrast

On white

3.42
#6B9821 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#6B9821 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B9821
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B9821#FFFFFF#000000##000000
##6B98211.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D01
Deuteranopia (green-blind)
#998A2D
Tritanopia (blue-blind)
#6F9182
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #6b9821;
/* rgb */ color: rgb(107, 152, 33);
/* oklch */ color: oklch(62.5% 0.151 128.7);
Tailwind
colors: {
  custom: {
    50: '#99b666',
    500: '#6b9821',
    950: '#000000',
  },
}
SCSS
$custom: #6b9821;
$custom-light: #99b666;
$custom-dark: #000000;
JSON
{
  "hex": "#6b9821",
  "rgb": {
    "r": 107,
    "g": 152,
    "b": 33
  },
  "hsl": {
    "h": 82.689,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62457,
    "c": 0.1513,
    "h": 128.7
  },
  "luminance": 0.25692
}

Semantic roles & 50–950 ramp

primary
#6B9821
secondary
#7E56BF
accent
#40E780
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6B9821

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

Preview Lab → · Contrast checker → · Palette generator →

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