#6C8415#6C8415

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

Color values

HEX#6C8415
RGBrgb(108, 132, 21)
HSLhsl(73, 73%, 30%)
HSVhsv(73, 84%, 52%)
CMYKcmyk(18.2%, 0%, 84.1%, 48.2%)
CIE-LABlab(51.55, -23.55, 51.37)
CIE-LCHlch(51.55, 56.51, 114.63°)
OKLaboklab(57.43% -0.0698 0.1118)
OKLCHoklch(57.43% 0.132 122)
XYZxyz(14.5712, 19.7448, 3.7528)
Luminance0.1974 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8415 #2D1584
analogous
#846515 #6C8415 #348415
triadic
#6C8415 #156C84 #84156C
tetradic
#6C8415 #158465 #2D1584 #841534
square
#6C8415 #158465 #2D1584 #841534
split-complementary
#6C8415 #153484 #651584
monochromatic
#161A04 #414F0D #6C8415 #97B91D #BADF35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C8415#FFFFFF#000000##000000
##6C84151.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)
#897B21
Tritanopia (blue-blind)
#727D70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6c8415;
/* rgb */ color: rgb(108, 132, 21);
/* oklch */ color: oklch(57.4% 0.132 122.0);
Tailwind
colors: {
  custom: {
    50: '#9aa75f',
    500: '#6c8415',
    950: '#000000',
  },
}
SCSS
$custom: #6c8415;
$custom-light: #9aa75f;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8415",
  "rgb": {
    "r": 108,
    "g": 132,
    "b": 21
  },
  "hsl": {
    "h": 72.973,
    "s": 72.549,
    "l": 30
  },
  "oklch": {
    "l": 0.57431,
    "c": 0.13179,
    "h": 122
  },
  "luminance": 0.19745
}

Semantic roles & 50–950 ramp

primary
#6C8415
secondary
#573CB9
accent
#39EF60
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6C8415

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

Preview Lab → · Contrast checker → · Palette generator →

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