#6E8D2F#6E8D2F

#6E8D2F is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 60.0% C 0.126 H 125.7°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#6E8D2F
RGBrgb(110, 141, 47)
HSLhsl(80, 50%, 37%)
HSVhsv(80, 67%, 55%)
CMYKcmyk(22%, 0%, 66.7%, 44.7%)
CIE-LABlab(54.63, -25.68, 44.92)
CIE-LCHlch(54.63, 51.74, 119.76°)
OKLaboklab(60.01% -0.0735 0.1025)
OKLCHoklch(60.01% 0.126 125.7)
XYZxyz(16.4684, 22.5698, 6.1776)
Luminance0.2257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8D2F #4E2F8D
analogous
#8D7D2F #6E8D2F #3F8D2F
triadic
#6E8D2F #2F6E8D #8D2F6E
tetradic
#6E8D2F #2F8D7D #4E2F8D #8D2F3F
square
#6E8D2F #2F8D7D #4E2F8D #8D2F3F
split-complementary
#6E8D2F #2F3F8D #7D2F8D
monochromatic
#263110 #4A5F20 #6E8D2F #92BB3E #ACCD69

Accessibility & contrast

On white

3.81
#6E8D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#6E8D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8D2F
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8D2F#FFFFFF#000000##000000
##6E8D2F1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948423
Deuteranopia (green-blind)
#908236
Tritanopia (blue-blind)
#73867A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6e8d2f;
/* rgb */ color: rgb(110, 141, 47);
/* oklch */ color: oklch(60.0% 0.126 125.7);
Tailwind
colors: {
  custom: {
    50: '#9aae6c',
    500: '#6e8d2f',
    950: '#000000',
  },
}
SCSS
$custom: #6e8d2f;
$custom-light: #9aae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8d2f",
  "rgb": {
    "r": 110,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 79.787,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60008,
    "c": 0.1261,
    "h": 125.7
  },
  "luminance": 0.2257
}

Semantic roles & 50–950 ramp

primary
#6E8D2F
secondary
#7E64B4
accent
#4EDA7C
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6E8D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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