#6E8D23#6E8D23

#6E8D23 is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 59.9% C 0.135 H 124.8°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#6E8D23
RGBrgb(110, 141, 35)
HSLhsl(78, 60%, 35%)
HSVhsv(78, 75%, 55%)
CMYKcmyk(22%, 0%, 75.2%, 44.7%)
CIE-LABlab(54.54, -26.49, 49.65)
CIE-LCHlch(54.54, 56.27, 118.08°)
OKLaboklab(59.91% -0.0768 0.1105)
OKLCHoklch(59.91% 0.135 124.8)
XYZxyz(16.2588, 22.4859, 5.0734)
Luminance0.2249 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8D23 #42238D
analogous
#8D7723 #6E8D23 #398D23
triadic
#6E8D23 #236E8D #8D236E
tetradic
#6E8D23 #238D77 #42238D #8D2339
square
#6E8D23 #238D77 #42238D #8D2339
split-complementary
#6E8D23 #23398D #77238D
monochromatic
#222B0B #485C17 #6E8D23 #94BE2F #B0D555

Accessibility & contrast

On white

3.82
#6E8D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#6E8D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8D23
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8D23#FFFFFF#000000##000000
##6E8D231.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#95840E
Deuteranopia (green-blind)
#91822D
Tritanopia (blue-blind)
#738679
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6e8d23;
/* rgb */ color: rgb(110, 141, 35);
/* oklch */ color: oklch(59.9% 0.135 124.8);
Tailwind
colors: {
  custom: {
    50: '#9bae66',
    500: '#6e8d23',
    950: '#000000',
  },
}
SCSS
$custom: #6e8d23;
$custom-light: #9bae66;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8d23",
  "rgb": {
    "r": 110,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 77.547,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59909,
    "c": 0.1346,
    "h": 124.8
  },
  "luminance": 0.22486
}

Semantic roles & 50–950 ramp

primary
#6E8D23
secondary
#7153B9
accent
#44E373
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6E8D23

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

Preview Lab → · Contrast checker → · Palette generator →

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