#6C8318#6C8318

#6C8318 is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 57.2% C 0.129 H 121.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#6C8318
RGBrgb(108, 131, 24)
HSLhsl(73, 69%, 30%)
HSVhsv(73, 82%, 51%)
CMYKcmyk(17.6%, 0%, 81.7%, 48.6%)
CIE-LABlab(51.25, -22.92, 50.23)
CIE-LCHlch(51.25, 55.22, 114.53°)
OKLaboklab(57.2% -0.0678 0.1099)
OKLCHoklch(57.2% 0.129 121.7)
XYZxyz(14.4658, 19.4867, 3.8632)
Luminance0.1949 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8318 #2F1883
analogous
#836418 #6C8318 #378318
triadic
#6C8318 #186C83 #83186C
tetradic
#6C8318 #188364 #2F1883 #831837
square
#6C8318 #188364 #2F1883 #831837
split-complementary
#6C8318 #183783 #641883
monochromatic
#171C05 #414F0F #6C8318 #97B721 #B8DB3A

Accessibility & contrast

On white

4.29
#6C8318 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#6C8318 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8318
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8318#FFFFFF#000000##000000
##6C83181.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B00
Deuteranopia (green-blind)
#897A23
Tritanopia (blue-blind)
#727C6F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6c8318;
/* rgb */ color: rgb(108, 131, 24);
/* oklch */ color: oklch(57.2% 0.129 121.7);
Tailwind
colors: {
  custom: {
    50: '#99a760',
    500: '#6c8318',
    950: '#000000',
  },
}
SCSS
$custom: #6c8318;
$custom-light: #99a760;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8318",
  "rgb": {
    "r": 108,
    "g": 131,
    "b": 24
  },
  "hsl": {
    "h": 72.897,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.57196,
    "c": 0.12916,
    "h": 121.7
  },
  "luminance": 0.19487
}

Semantic roles & 50–950 ramp

primary
#6C8318
secondary
#5940B7
accent
#3CEC62
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6C8318

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

Preview Lab → · Contrast checker → · Palette generator →

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