#6E8A23#6E8A23

#6E8A23 is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 59.2% C 0.131 H 123.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6E8A23
RGBrgb(110, 138, 35)
HSLhsl(76, 60%, 34%)
HSVhsv(76, 75%, 54%)
CMYKcmyk(20.3%, 0%, 74.6%, 45.9%)
CIE-LABlab(53.61, -25.01, 48.75)
CIE-LCHlch(53.61, 54.79, 117.16°)
OKLaboklab(59.16% -0.0728 0.1086)
OKLCHoklch(59.16% 0.131 123.8)
XYZxyz(15.8224, 21.6132, 4.9280)
Luminance0.2161 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8A23 #3F238A
analogous
#8A7323 #6E8A23 #3A8A23
triadic
#6E8A23 #236E8A #8A236E
tetradic
#6E8A23 #238A73 #3F238A #8A233A
square
#6E8A23 #238A73 #3F238A #8A233A
split-complementary
#6E8A23 #233A8A #73238A
monochromatic
#20280A #475917 #6E8A23 #95BB2F #B1D454

Accessibility & contrast

On white

3.95
#6E8A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#6E8A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8A23
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8A23#FFFFFF#000000##000000
##6E8A231.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810F
Deuteranopia (green-blind)
#8E802C
Tritanopia (blue-blind)
#748376
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6e8a23;
/* rgb */ color: rgb(110, 138, 35);
/* oklch */ color: oklch(59.2% 0.131 123.8);
Tailwind
colors: {
  custom: {
    50: '#9bac66',
    500: '#6e8a23',
    950: '#000000',
  },
}
SCSS
$custom: #6e8a23;
$custom-light: #9bac66;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8a23",
  "rgb": {
    "r": 110,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 76.311,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59161,
    "c": 0.13076,
    "h": 123.8
  },
  "luminance": 0.21613
}

Semantic roles & 50–950 ramp

primary
#6E8A23
secondary
#6D51B7
accent
#45E370
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6E8A23

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

Preview Lab → · Contrast checker → · Palette generator →

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