#6E8E2F#6E8E2F

#6E8E2F is a mid, vivid yellow-green. Relative luminance 0.229; OKLCH L 60.3% C 0.127 H 126.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#6E8E2F
RGBrgb(110, 142, 47)
HSLhsl(80, 50%, 37%)
HSVhsv(80, 67%, 56%)
CMYKcmyk(22.5%, 0%, 66.9%, 44.3%)
CIE-LABlab(54.93, -26.17, 45.25)
CIE-LCHlch(54.93, 52.27, 120.05°)
OKLaboklab(60.26% -0.0749 0.1032)
OKLCHoklch(60.26% 0.127 126)
XYZxyz(16.6166, 22.8660, 6.2269)
Luminance0.2287 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8E2F #4F2F8E
analogous
#8E7F2F #6E8E2F #3E8E2F
triadic
#6E8E2F #2F6E8E #8E2F6E
tetradic
#6E8E2F #2F8E7F #4F2F8E #8E2F3E
square
#6E8E2F #2F8E7F #4F2F8E #8E2F3E
split-complementary
#6E8E2F #2F3E8E #7F2F8E
monochromatic
#273211 #4A6020 #6E8E2F #92BC3E #ACCE6A

Accessibility & contrast

On white

3.77
#6E8E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#6E8E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8E2F
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8E2F#FFFFFF#000000##000000
##6E8E2F1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958522
Deuteranopia (green-blind)
#918336
Tritanopia (blue-blind)
#73877B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6e8e2f;
/* rgb */ color: rgb(110, 142, 47);
/* oklch */ color: oklch(60.3% 0.127 126.0);
Tailwind
colors: {
  custom: {
    50: '#9aaf6d',
    500: '#6e8e2f',
    950: '#000000',
  },
}
SCSS
$custom: #6e8e2f;
$custom-light: #9aaf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8e2f",
  "rgb": {
    "r": 110,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 80.211,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60257,
    "c": 0.12745,
    "h": 126
  },
  "luminance": 0.22866
}

Semantic roles & 50–950 ramp

primary
#6E8E2F
secondary
#7F64B5
accent
#4EDA7D
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6E8E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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