#6E8218#6E8218

#6E8218 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 57.1% C 0.127 H 120.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#6E8218
RGBrgb(110, 130, 24)
HSLhsl(71, 69%, 30%)
HSVhsv(71, 82%, 51%)
CMYKcmyk(15.4%, 0%, 81.5%, 49%)
CIE-LABlab(51.09, -21.54, 50.14)
CIE-LCHlch(51.09, 54.57, 113.24°)
OKLaboklab(57.1% -0.0642 0.1096)
OKLCHoklch(57.1% 0.127 120.3)
XYZxyz(14.5782, 19.3463, 3.8302)
Luminance0.1935 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8218 #2C1882
analogous
#826118 #6E8218 #398218
triadic
#6E8218 #186E82 #82186E
tetradic
#6E8218 #188261 #2C1882 #821839
square
#6E8218 #188261 #2C1882 #821839
split-complementary
#6E8218 #183982 #611882
monochromatic
#171B05 #424E0E #6E8218 #9AB622 #BCDB3A

Accessibility & contrast

On white

4.31
#6E8218 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#6E8218 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8218
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8218#FFFFFF#000000##000000
##6E82181.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#887A23
Tritanopia (blue-blind)
#757B6F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6e8218;
/* rgb */ color: rgb(110, 130, 24);
/* oklch */ color: oklch(57.1% 0.127 120.3);
Tailwind
colors: {
  custom: {
    50: '#9ba65f',
    500: '#6e8218',
    950: '#000000',
  },
}
SCSS
$custom: #6e8218;
$custom-light: #9ba65f;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8218",
  "rgb": {
    "r": 110,
    "g": 130,
    "b": 24
  },
  "hsl": {
    "h": 71.321,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.57103,
    "c": 0.12703,
    "h": 120.3
  },
  "luminance": 0.19346
}

Semantic roles & 50–950 ramp

primary
#6E8218
secondary
#5640B6
accent
#3CEC5D
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6E8218

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

Preview Lab → · Contrast checker → · Palette generator →

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