#6A8E18#6A8E18

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

Color values

HEX#6A8E18
RGBrgb(106, 142, 24)
HSLhsl(78, 71%, 33%)
HSVhsv(78, 83%, 56%)
CMYKcmyk(25.4%, 0%, 83.1%, 44.3%)
CIE-LABlab(54.53, -29.18, 53.12)
CIE-LCHlch(54.53, 60.61, 118.78°)
OKLaboklab(59.81% -0.0848 0.1161)
OKLCHoklch(59.81% 0.144 126.1)
XYZxyz(15.7818, 22.4759, 4.3708)
Luminance0.2248 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8E18 #3C188E
analogous
#8E7718 #6A8E18 #2F8E18
triadic
#6A8E18 #186A8E #8E186A
tetradic
#6A8E18 #188E77 #3C188E #8E182F
square
#6A8E18 #188E77 #3C188E #8E182F
split-complementary
#6A8E18 #182F8E #77188E
monochromatic
#1C2506 #435A0F #6A8E18 #91C221 #AFDF41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A8E18#FFFFFF#000000##000000
##6A8E181.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)
#968400
Deuteranopia (green-blind)
#918225
Tritanopia (blue-blind)
#6F8779
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6a8e18;
/* rgb */ color: rgb(106, 142, 24);
/* oklch */ color: oklch(59.8% 0.144 126.1);
Tailwind
colors: {
  custom: {
    50: '#99af61',
    500: '#6a8e18',
    950: '#000000',
  },
}
SCSS
$custom: #6a8e18;
$custom-light: #99af61;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8e18",
  "rgb": {
    "r": 106,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 78.305,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.59814,
    "c": 0.14375,
    "h": 126.1
  },
  "luminance": 0.22476
}

Semantic roles & 50–950 ramp

primary
#6A8E18
secondary
#6842C0
accent
#3AEE71
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6A8E18

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

Preview Lab → · Contrast checker → · Palette generator →

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