#6E8D18#6E8D18

#6E8D18 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.8% C 0.141 H 124.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#6E8D18
RGBrgb(110, 141, 24)
HSLhsl(76, 71%, 32%)
HSVhsv(76, 83%, 55%)
CMYKcmyk(22%, 0%, 83%, 44.7%)
CIE-LABlab(54.48, -27.03, 53.18)
CIE-LCHlch(54.48, 59.65, 116.94°)
OKLaboklab(59.84% -0.0791 0.1161)
OKLCHoklch(59.84% 0.141 124.3)
XYZxyz(16.1203, 22.4305, 4.3442)
Luminance0.2243 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8D18 #37188D
analogous
#8D7118 #6E8D18 #348D18
triadic
#6E8D18 #186E8D #8D186E
tetradic
#6E8D18 #188D71 #37188D #8D1834
square
#6E8D18 #188D71 #37188D #8D1834
split-complementary
#6E8D18 #18348D #71188D
monochromatic
#1C2406 #45590F #6E8D18 #97C121 #B5DF41

Accessibility & contrast

On white

3.83
#6E8D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#6E8D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8D18
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8D18#FFFFFF#000000##000000
##6E8D181.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#918225
Tritanopia (blue-blind)
#748678
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6e8d18;
/* rgb */ color: rgb(110, 141, 24);
/* oklch */ color: oklch(59.8% 0.141 124.3);
Tailwind
colors: {
  custom: {
    50: '#9bae61',
    500: '#6e8d18',
    950: '#000000',
  },
}
SCSS
$custom: #6e8d18;
$custom-light: #9bae61;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8d18",
  "rgb": {
    "r": 110,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 75.897,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59844,
    "c": 0.1405,
    "h": 124.3
  },
  "luminance": 0.22431
}

Semantic roles & 50–950 ramp

primary
#6E8D18
secondary
#6342BF
accent
#3AEE6A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1005
muted
#7E7F7A

Preview Lab

Preview with #6E8D18

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

Preview Lab → · Contrast checker → · Palette generator →

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