#6A8618#6A8618

#6A8618 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.8% C 0.134 H 123.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6A8618
RGBrgb(106, 134, 24)
HSLhsl(75, 70%, 31%)
HSVhsv(75, 82%, 53%)
CMYKcmyk(20.9%, 0%, 82.1%, 47.5%)
CIE-LABlab(52.04, -25.29, 50.89)
CIE-LCHlch(52.04, 56.83, 116.43°)
OKLaboklab(57.8% -0.0742 0.1114)
OKLCHoklch(57.8% 0.134 123.7)
XYZxyz(14.6340, 20.1802, 3.9882)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8618 #341886
analogous
#866B18 #6A8618 #338618
triadic
#6A8618 #186A86 #86186A
tetradic
#6A8618 #18866B #341886 #861833
square
#6A8618 #18866B #341886 #861833
split-complementary
#6A8618 #183386 #6B1886
monochromatic
#181E05 #41520F #6A8618 #93BA21 #B3DC3C

Accessibility & contrast

On white

4.17
#6A8618 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#6A8618 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8618
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8618#FFFFFF#000000##000000
##6A86181.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8A7C24
Tritanopia (blue-blind)
#707F72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6a8618;
/* rgb */ color: rgb(106, 134, 24);
/* oklch */ color: oklch(57.8% 0.134 123.7);
Tailwind
colors: {
  custom: {
    50: '#98a960',
    500: '#6a8618',
    950: '#000000',
  },
}
SCSS
$custom: #6a8618;
$custom-light: #98a960;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8618",
  "rgb": {
    "r": 106,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 75.273,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57798,
    "c": 0.13382,
    "h": 123.7
  },
  "luminance": 0.2018
}

Semantic roles & 50–950 ramp

primary
#6A8618
secondary
#5F40BA
accent
#3BEC68
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6A8618

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

Preview Lab → · Contrast checker → · Palette generator →

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