#6A8D18#6A8D18

#6A8D18 is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.6% C 0.143 H 125.9°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#6A8D18
RGBrgb(106, 141, 24)
HSLhsl(78, 71%, 32%)
HSVhsv(78, 83%, 55%)
CMYKcmyk(24.8%, 0%, 83%, 44.7%)
CIE-LABlab(54.22, -28.71, 52.84)
CIE-LCHlch(54.22, 60.14, 118.51°)
OKLaboklab(59.56% -0.0835 0.1155)
OKLCHoklch(59.56% 0.143 125.9)
XYZxyz(15.6337, 22.1796, 4.3214)
Luminance0.2218 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8D18 #3B188D
analogous
#8D7618 #6A8D18 #2F8D18
triadic
#6A8D18 #186A8D #8D186A
tetradic
#6A8D18 #188D76 #3B188D #8D182F
square
#6A8D18 #188D76 #3B188D #8D182F
split-complementary
#6A8D18 #182F8D #76188D
monochromatic
#1B2406 #43590F #6A8D18 #91C121 #AFDF41

Accessibility & contrast

On white

3.86
#6A8D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#6A8D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8D18
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8D18#FFFFFF#000000##000000
##6A8D181.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#908125
Tritanopia (blue-blind)
#6F8678
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6a8d18;
/* rgb */ color: rgb(106, 141, 24);
/* oklch */ color: oklch(59.6% 0.143 125.9);
Tailwind
colors: {
  custom: {
    50: '#98ae61',
    500: '#6a8d18',
    950: '#000000',
  },
}
SCSS
$custom: #6a8d18;
$custom-light: #98ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8d18",
  "rgb": {
    "r": 106,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 77.949,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59562,
    "c": 0.14251,
    "h": 125.9
  },
  "luminance": 0.2218
}

Semantic roles & 50–950 ramp

primary
#6A8D18
secondary
#6742BF
accent
#3AEE70
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6A8D18

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

Preview Lab → · Contrast checker → · Palette generator →

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