#6D8A28#6D8A28

#6D8A28 is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 59.1% C 0.128 H 124.6°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6D8A28
RGBrgb(109, 138, 40)
HSLhsl(78, 55%, 35%)
HSVhsv(78, 71%, 54%)
CMYKcmyk(21%, 0%, 71%, 45.9%)
CIE-LABlab(53.58, -25.12, 46.75)
CIE-LCHlch(53.58, 53.07, 118.25°)
OKLaboklab(59.13% -0.0725 0.1053)
OKLCHoklch(59.13% 0.128 124.6)
XYZxyz(15.7783, 21.5812, 5.3414)
Luminance0.2158 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8A28 #45288A
analogous
#8A7628 #6D8A28 #3C8A28
triadic
#6D8A28 #286D8A #8A286D
tetradic
#6D8A28 #288A76 #45288A #8A283C
square
#6D8A28 #288A76 #45288A #8A283C
split-complementary
#6D8A28 #283C8A #76288A
monochromatic
#222B0C #485B1A #6D8A28 #92B936 #AED05D

Accessibility & contrast

On white

3.95
#6D8A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#6D8A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8A28
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8A28#FFFFFF#000000##000000
##6D8A281.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928119
Deuteranopia (green-blind)
#8E8030
Tritanopia (blue-blind)
#728377
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6d8a28;
/* rgb */ color: rgb(109, 138, 40);
/* oklch */ color: oklch(59.1% 0.128 124.6);
Tailwind
colors: {
  custom: {
    50: '#9aac68',
    500: '#6d8a28',
    950: '#000000',
  },
}
SCSS
$custom: #6d8a28;
$custom-light: #9aac68;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8a28",
  "rgb": {
    "r": 109,
    "g": 138,
    "b": 40
  },
  "hsl": {
    "h": 77.755,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59127,
    "c": 0.12787,
    "h": 124.6
  },
  "luminance": 0.21581
}

Semantic roles & 50–950 ramp

primary
#6D8A28
secondary
#7459B5
accent
#49DE75
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6D8A28

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

Preview Lab → · Contrast checker → · Palette generator →

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