#6E9840#6E9840

#6E9840 is a light, vivid yellow-green. Relative luminance 0.261; OKLCH L 62.9% C 0.127 H 130.6°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#6E9840
RGBrgb(110, 152, 64)
HSLhsl(89, 41%, 42%)
HSVhsv(89, 58%, 60%)
CMYKcmyk(27.6%, 0%, 57.9%, 40.4%)
CIE-LABlab(58.17, -29.50, 41.03)
CIE-LCHlch(58.17, 50.53, 125.71°)
OKLaboklab(62.93% -0.0825 0.0963)
OKLCHoklch(62.93% 0.127 130.6)
XYZxyz(18.5839, 26.1411, 8.9161)
Luminance0.2614 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E9840 #6A4098
analogous
#989640 #6E9840 #429840
triadic
#6E9840 #406E98 #98406E
tetradic
#6E9840 #409896 #6A4098 #984042
square
#6E9840 #409896 #6A4098 #984042
split-complementary
#6E9840 #404298 #964098
monochromatic
#30421C #4F6D2E #6E9840 #8DBA5B #ABCC86

Accessibility & contrast

On white

3.37
#6E9840 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#6E9840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E9840
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E9840#FFFFFF#000000##000000
##6E98401.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8E37
Deuteranopia (green-blind)
#988B46
Tritanopia (blue-blind)
#709285
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #6e9840;
/* rgb */ color: rgb(110, 152, 64);
/* oklch */ color: oklch(62.9% 0.127 130.6);
Tailwind
colors: {
  custom: {
    50: '#9ab678',
    500: '#6e9840',
    950: '#000000',
  },
}
SCSS
$custom: #6e9840;
$custom-light: #9ab678;
$custom-dark: #000000;
JSON
{
  "hex": "#6e9840",
  "rgb": {
    "r": 110,
    "g": 152,
    "b": 64
  },
  "hsl": {
    "h": 88.636,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.62931,
    "c": 0.12677,
    "h": 130.6
  },
  "luminance": 0.26142
}

Semantic roles & 50–950 ramp

primary
#6E9840
secondary
#997DB7
accent
#57D191
background
#F9FBF7
surface
#F2F6ED
border
#CCD0C8
text
#0E1109
muted
#7E807B

Preview Lab

Preview with #6E9840

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

Preview Lab → · Contrast checker → · Palette generator →

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