#6E8415#6E8415

#6E8415 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.6% C 0.131 H 121.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#6E8415
RGBrgb(110, 132, 21)
HSLhsl(72, 73%, 30%)
HSVhsv(72, 84%, 52%)
CMYKcmyk(16.7%, 0%, 84.1%, 48.2%)
CIE-LABlab(51.69, -22.68, 51.56)
CIE-LCHlch(51.69, 56.32, 113.74°)
OKLaboklab(57.58% -0.0675 0.1121)
OKLCHoklch(57.58% 0.131 121)
XYZxyz(14.8173, 19.8717, 3.7643)
Luminance0.1987 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8415 #2B1584
analogous
#846315 #6E8415 #368415
triadic
#6E8415 #156E84 #84156E
tetradic
#6E8415 #158463 #2B1584 #841536
square
#6E8415 #158463 #2B1584 #841536
split-complementary
#6E8415 #153684 #631584
monochromatic
#161A04 #424F0D #6E8415 #9AB91D #BDDF35

Accessibility & contrast

On white

4.22
#6E8415 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#6E8415 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8415
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8415#FFFFFF#000000##000000
##6E84151.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8A7B21
Tritanopia (blue-blind)
#757D70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6e8415;
/* rgb */ color: rgb(110, 132, 21);
/* oklch */ color: oklch(57.6% 0.131 121.0);
Tailwind
colors: {
  custom: {
    50: '#9ba75f',
    500: '#6e8415',
    950: '#000000',
  },
}
SCSS
$custom: #6e8415;
$custom-light: #9ba75f;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8415",
  "rgb": {
    "r": 110,
    "g": 132,
    "b": 21
  },
  "hsl": {
    "h": 71.892,
    "s": 72.549,
    "l": 30
  },
  "oklch": {
    "l": 0.57584,
    "c": 0.13087,
    "h": 121
  },
  "luminance": 0.19872
}

Semantic roles & 50–950 ramp

primary
#6E8415
secondary
#553CB9
accent
#39EF5D
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6E8415

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

Preview Lab → · Contrast checker → · Palette generator →

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