#6E8622#6E8622

#6E8622 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 58.2% C 0.126 H 122.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#6E8622
RGBrgb(110, 134, 34)
HSLhsl(74, 60%, 33%)
HSVhsv(74, 75%, 53%)
CMYKcmyk(17.9%, 0%, 74.6%, 47.5%)
CIE-LABlab(52.38, -23.06, 47.92)
CIE-LCHlch(52.38, 53.18, 115.70°)
OKLaboklab(58.16% -0.0675 0.1067)
OKLCHoklch(58.16% 0.126 122.3)
XYZxyz(15.2444, 20.4806, 4.6631)
Luminance0.2048 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8622 #3A2286
analogous
#866C22 #6E8622 #3C8622
triadic
#6E8622 #226E86 #86226E
tetradic
#6E8622 #22866C #3A2286 #86223C
square
#6E8622 #22866C #3A2286 #86223C
split-complementary
#6E8622 #223C86 #6C2286
monochromatic
#1E2409 #465516 #6E8622 #96B72E #B3D350

Accessibility & contrast

On white

4.12
#6E8622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#6E8622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8622
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8622#FFFFFF#000000##000000
##6E86221.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E0F
Deuteranopia (green-blind)
#8B7D2B
Tritanopia (blue-blind)
#747F73
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6e8622;
/* rgb */ color: rgb(110, 134, 34);
/* oklch */ color: oklch(58.2% 0.126 122.3);
Tailwind
colors: {
  custom: {
    50: '#9ba965',
    500: '#6e8622',
    950: '#000000',
  },
}
SCSS
$custom: #6e8622;
$custom-light: #9ba965;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8622",
  "rgb": {
    "r": 110,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 74.4,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58159,
    "c": 0.12628,
    "h": 122.3
  },
  "luminance": 0.20481
}

Semantic roles & 50–950 ramp

primary
#6E8622
secondary
#674EB6
accent
#45E36B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6E8622

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

Preview Lab → · Contrast checker → · Palette generator →

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