#6E8A2F#6E8A2F

#6E8A2F is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.3% C 0.122 H 124.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#6E8A2F
RGBrgb(110, 138, 47)
HSLhsl(78, 49%, 36%)
HSVhsv(78, 66%, 54%)
CMYKcmyk(20.3%, 0%, 65.9%, 45.9%)
CIE-LABlab(53.70, -24.19, 43.94)
CIE-LCHlch(53.70, 50.15, 118.83°)
OKLaboklab(59.26% -0.0694 0.1004)
OKLCHoklch(59.26% 0.122 124.6)
XYZxyz(16.0321, 21.6970, 6.0321)
Luminance0.2170 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8A2F #4B2F8A
analogous
#8A792F #6E8A2F #418A2F
triadic
#6E8A2F #2F6E8A #8A2F6E
tetradic
#6E8A2F #2F8A79 #4B2F8A #8A2F41
square
#6E8A2F #2F8A79 #4B2F8A #8A2F41
split-complementary
#6E8A2F #2F418A #792F8A
monochromatic
#252F10 #4A5C1F #6E8A2F #92B83F #ADCC68

Accessibility & contrast

On white

3.93
#6E8A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#6E8A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8A2F
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8A2F#FFFFFF#000000##000000
##6E8A2F1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e8a2f;
/* rgb */ color: rgb(110, 138, 47);
/* oklch */ color: oklch(59.3% 0.122 124.6);
Tailwind
colors: {
  custom: {
    50: '#9aac6c',
    500: '#6e8a2f',
    950: '#000000',
  },
}
SCSS
$custom: #6e8a2f;
$custom-light: #9aac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8a2f",
  "rgb": {
    "r": 110,
    "g": 138,
    "b": 47
  },
  "hsl": {
    "h": 78.462,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59262,
    "c": 0.12204,
    "h": 124.6
  },
  "luminance": 0.21697
}

Semantic roles & 50–950 ramp

primary
#6E8A2F
secondary
#7B62B3
accent
#4FD979
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6E8A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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