#6E8315#6E8315

#6E8315 is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 57.3% C 0.130 H 120.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#6E8315
RGBrgb(110, 131, 21)
HSLhsl(71, 72%, 30%)
HSVhsv(71, 84%, 51%)
CMYKcmyk(16%, 0%, 84%, 48.6%)
CIE-LABlab(51.38, -22.17, 51.29)
CIE-LCHlch(51.38, 55.87, 113.38°)
OKLaboklab(57.34% -0.0661 0.1116)
OKLCHoklch(57.34% 0.13 120.7)
XYZxyz(14.6824, 19.6018, 3.7194)
Luminance0.1960 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8315 #2A1583
analogous
#836115 #6E8315 #378315
triadic
#6E8315 #156E83 #83156E
tetradic
#6E8315 #158361 #2A1583 #831537
square
#6E8315 #158361 #2A1583 #831537
split-complementary
#6E8315 #153783 #611583
monochromatic
#161A04 #424E0D #6E8315 #9AB81D #BEDE34

Accessibility & contrast

On white

4.27
#6E8315 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#6E8315 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8315
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8315#FFFFFF#000000##000000
##6E83151.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#897B21
Tritanopia (blue-blind)
#757C6F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6e8315;
/* rgb */ color: rgb(110, 131, 21);
/* oklch */ color: oklch(57.3% 0.130 120.7);
Tailwind
colors: {
  custom: {
    50: '#9ba75e',
    500: '#6e8315',
    950: '#000000',
  },
}
SCSS
$custom: #6e8315;
$custom-light: #9ba75e;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8315",
  "rgb": {
    "r": 110,
    "g": 131,
    "b": 21
  },
  "hsl": {
    "h": 71.455,
    "s": 72.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.57336,
    "c": 0.12967,
    "h": 120.7
  },
  "luminance": 0.19602
}

Semantic roles & 50–950 ramp

primary
#6E8315
secondary
#543CB8
accent
#39EF5C
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6E8315

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

Preview Lab → · Contrast checker → · Palette generator →

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