#6C8218#6C8218

#6C8218 is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.9% C 0.128 H 121.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#6C8218
RGBrgb(108, 130, 24)
HSLhsl(72, 69%, 30%)
HSVhsv(72, 82%, 51%)
CMYKcmyk(16.9%, 0%, 81.5%, 49%)
CIE-LABlab(50.94, -22.42, 49.95)
CIE-LCHlch(50.94, 54.75, 114.17°)
OKLaboklab(56.95% -0.0665 0.1093)
OKLCHoklch(56.95% 0.128 121.3)
XYZxyz(14.3321, 19.2194, 3.8186)
Luminance0.1922 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8218 #2E1882
analogous
#826318 #6C8218 #378218
triadic
#6C8218 #186C82 #82186C
tetradic
#6C8218 #188263 #2E1882 #821837
square
#6C8218 #188263 #2E1882 #821837
split-complementary
#6C8218 #183782 #631882
monochromatic
#161B05 #414E0E #6C8218 #97B622 #B9DB3A

Accessibility & contrast

On white

4.34
#6C8218 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#6C8218 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8218
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8218#FFFFFF#000000##000000
##6C82181.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#887923
Tritanopia (blue-blind)
#727B6F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6c8218;
/* rgb */ color: rgb(108, 130, 24);
/* oklch */ color: oklch(56.9% 0.128 121.3);
Tailwind
colors: {
  custom: {
    50: '#99a65f',
    500: '#6c8218',
    950: '#000000',
  },
}
SCSS
$custom: #6c8218;
$custom-light: #99a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8218",
  "rgb": {
    "r": 108,
    "g": 130,
    "b": 24
  },
  "hsl": {
    "h": 72.453,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.56947,
    "c": 0.12793,
    "h": 121.3
  },
  "luminance": 0.19219
}

Semantic roles & 50–950 ramp

primary
#6C8218
secondary
#5840B6
accent
#3CEC61
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6C8218

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

Preview Lab → · Contrast checker → · Palette generator →

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