#6B9728#6B9728

#6B9728 is a light, vivid yellow-green. Relative luminance 0.254; OKLCH L 62.3% C 0.146 H 129.0°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#6B9728
RGBrgb(107, 151, 40)
HSLhsl(84, 58%, 37%)
HSVhsv(84, 74%, 59%)
CMYKcmyk(29.1%, 0%, 73.5%, 40.8%)
CIE-LABlab(57.47, -32.18, 50.62)
CIE-LCHlch(57.47, 59.98, 122.45°)
OKLaboklab(62.25% -0.0918 0.1134)
OKLCHoklch(62.25% 0.146 129)
XYZxyz(17.5130, 25.4118, 5.9893)
Luminance0.2541 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B9728 #542897
analogous
#978C28 #6B9728 #339728
triadic
#6B9728 #286B97 #97286B
tetradic
#6B9728 #28978C #542897 #972833
square
#6B9728 #28978C #542897 #972833
split-complementary
#6B9728 #283397 #8C2897
monochromatic
#26360E #49671B #6B9728 #8DC735 #A9D664

Accessibility & contrast

On white

3.45
#6B9728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#6B9728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B9728
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B9728#FFFFFF#000000##000000
##6B97281.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C14
Deuteranopia (green-blind)
#988932
Tritanopia (blue-blind)
#6E9081
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #6b9728;
/* rgb */ color: rgb(107, 151, 40);
/* oklch */ color: oklch(62.3% 0.146 129.0);
Tailwind
colors: {
  custom: {
    50: '#99b66a',
    500: '#6b9728',
    950: '#000000',
  },
}
SCSS
$custom: #6b9728;
$custom-light: #99b66a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b9728",
  "rgb": {
    "r": 107,
    "g": 151,
    "b": 40
  },
  "hsl": {
    "h": 83.784,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62251,
    "c": 0.14591,
    "h": 129
  },
  "luminance": 0.25412
}

Semantic roles & 50–950 ramp

primary
#6B9728
secondary
#845FBC
accent
#46E184
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1107
muted
#7E807A

Preview Lab

Preview with #6B9728

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

Preview Lab → · Contrast checker → · Palette generator →

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