#6C8518#6C8518

#6C8518 is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.7% C 0.132 H 122.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#6C8518
RGBrgb(108, 133, 24)
HSLhsl(74, 69%, 31%)
HSVhsv(74, 82%, 52%)
CMYKcmyk(18.8%, 0%, 82%, 47.8%)
CIE-LABlab(51.87, -23.93, 50.79)
CIE-LCHlch(51.87, 56.14, 115.23°)
OKLaboklab(57.7% -0.0706 0.1111)
OKLCHoklch(57.7% 0.132 122.4)
XYZxyz(14.7370, 20.0291, 3.9536)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8518 #311885
analogous
#856718 #6C8518 #368518
triadic
#6C8518 #186C85 #85186C
tetradic
#6C8518 #188567 #311885 #851836
square
#6C8518 #188567 #311885 #851836
split-complementary
#6C8518 #183685 #671885
monochromatic
#181D05 #42510F #6C8518 #96B921 #B7DC3C

Accessibility & contrast

On white

4.20
#6C8518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#6C8518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8518
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8518#FFFFFF#000000##000000
##6C85181.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8A7C23
Tritanopia (blue-blind)
#727E71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6c8518;
/* rgb */ color: rgb(108, 133, 24);
/* oklch */ color: oklch(57.7% 0.132 122.4);
Tailwind
colors: {
  custom: {
    50: '#9aa860',
    500: '#6c8518',
    950: '#000000',
  },
}
SCSS
$custom: #6c8518;
$custom-light: #9aa860;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8518",
  "rgb": {
    "r": 108,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 73.761,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57696,
    "c": 0.13163,
    "h": 122.4
  },
  "luminance": 0.20029
}

Semantic roles & 50–950 ramp

primary
#6C8518
secondary
#5C40B9
accent
#3CEC64
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6C8518

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

Preview Lab → · Contrast checker → · Palette generator →

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