#6C8418#6C8418

#6C8418 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.4% C 0.130 H 122.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#6C8418
RGBrgb(108, 132, 24)
HSLhsl(73, 69%, 31%)
HSVhsv(73, 82%, 52%)
CMYKcmyk(18.2%, 0%, 81.8%, 48.2%)
CIE-LABlab(51.56, -23.43, 50.51)
CIE-LCHlch(51.56, 55.68, 114.88°)
OKLaboklab(57.45% -0.0692 0.1105)
OKLCHoklch(57.45% 0.13 122.1)
XYZxyz(14.6007, 19.7566, 3.9082)
Luminance0.1976 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8418 #301884
analogous
#846618 #6C8418 #368418
triadic
#6C8418 #186C84 #84186C
tetradic
#6C8418 #188466 #301884 #841836
square
#6C8418 #188466 #301884 #841836
split-complementary
#6C8418 #183684 #661884
monochromatic
#171C05 #42500F #6C8418 #96B821 #B8DB3B

Accessibility & contrast

On white

4.24
#6C8418 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#6C8418 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8418
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8418#FFFFFF#000000##000000
##6C84181.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#897B23
Tritanopia (blue-blind)
#727D70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6c8418;
/* rgb */ color: rgb(108, 132, 24);
/* oklch */ color: oklch(57.4% 0.130 122.1);
Tailwind
colors: {
  custom: {
    50: '#99a760',
    500: '#6c8418',
    950: '#000000',
  },
}
SCSS
$custom: #6c8418;
$custom-light: #99a760;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8418",
  "rgb": {
    "r": 108,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 73.333,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.57446,
    "c": 0.13038,
    "h": 122.1
  },
  "luminance": 0.19757
}

Semantic roles & 50–950 ramp

primary
#6C8418
secondary
#5B40B8
accent
#3CEC63
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6C8418

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

Preview Lab → · Contrast checker → · Palette generator →

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