#6E8D15#6E8D15

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

Color values

HEX#6E8D15
RGBrgb(110, 141, 21)
HSLhsl(76, 74%, 32%)
HSVhsv(76, 85%, 55%)
CMYKcmyk(22%, 0%, 85.1%, 44.7%)
CIE-LABlab(54.47, -27.14, 53.98)
CIE-LCHlch(54.47, 60.42, 116.70°)
OKLaboklab(59.83% -0.0797 0.1173)
OKLCHoklch(59.83% 0.142 124.2)
XYZxyz(16.0908, 22.4187, 4.1888)
Luminance0.2242 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8D15 #34158D
analogous
#8D7015 #6E8D15 #328D15
triadic
#6E8D15 #156E8D #8D156E
tetradic
#6E8D15 #158D70 #34158D #8D1532
square
#6E8D15 #158D70 #34158D #8D1532
split-complementary
#6E8D15 #15328D #70158D
monochromatic
#1B2205 #44580D #6E8D15 #98C21D #B7E23B

Accessibility & contrast

On white

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

On black

5.48
#6E8D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8D15
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8D15#FFFFFF#000000##000000
##6E8D151.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e8d15;
/* rgb */ color: rgb(110, 141, 21);
/* oklch */ color: oklch(59.8% 0.142 124.2);
Tailwind
colors: {
  custom: {
    50: '#9bae60',
    500: '#6e8d15',
    950: '#000000',
  },
}
SCSS
$custom: #6e8d15;
$custom-light: #9bae60;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8d15",
  "rgb": {
    "r": 110,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 75.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5983,
    "c": 0.1418,
    "h": 124.2
  },
  "luminance": 0.22419
}

Semantic roles & 50–950 ramp

primary
#6E8D15
secondary
#5F3DC1
accent
#37F167
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1005
muted
#7E7F7A

Preview Lab

Preview with #6E8D15

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

Preview Lab → · Contrast checker → · Palette generator →

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