#6E8A28#6E8A28

#6E8A28 is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 59.2% C 0.127 H 124.1°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#6E8A28
RGBrgb(110, 138, 40)
HSLhsl(77, 55%, 35%)
HSVhsv(77, 71%, 54%)
CMYKcmyk(20.3%, 0%, 71%, 45.9%)
CIE-LABlab(53.65, -24.70, 46.84)
CIE-LCHlch(53.65, 52.95, 117.80°)
OKLaboklab(59.2% -0.0714 0.1055)
OKLCHoklch(59.2% 0.127 124.1)
XYZxyz(15.9020, 21.6450, 5.3472)
Luminance0.2165 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8A28 #44288A
analogous
#8A7528 #6E8A28 #3D8A28
triadic
#6E8A28 #286E8A #8A286E
tetradic
#6E8A28 #288A75 #44288A #8A283D
square
#6E8A28 #288A75 #44288A #8A283D
split-complementary
#6E8A28 #283D8A #75288A
monochromatic
#222B0C #485B1A #6E8A28 #94B936 #AFD05D

Accessibility & contrast

On white

3.94
#6E8A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#6E8A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8A28
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8A28#FFFFFF#000000##000000
##6E8A281.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e8a28;
/* rgb */ color: rgb(110, 138, 40);
/* oklch */ color: oklch(59.2% 0.127 124.1);
Tailwind
colors: {
  custom: {
    50: '#9aac68',
    500: '#6e8a28',
    950: '#000000',
  },
}
SCSS
$custom: #6e8a28;
$custom-light: #9aac68;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8a28",
  "rgb": {
    "r": 110,
    "g": 138,
    "b": 40
  },
  "hsl": {
    "h": 77.143,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.592,
    "c": 0.12738,
    "h": 124.1
  },
  "luminance": 0.21645
}

Semantic roles & 50–950 ramp

primary
#6E8A28
secondary
#7359B5
accent
#49DE74
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6E8A28

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

Preview Lab → · Contrast checker → · Palette generator →

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