#6E8215#6E8215

#6E8215 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 57.1% C 0.128 H 120.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#6E8215
RGBrgb(110, 130, 21)
HSLhsl(71, 72%, 30%)
HSVhsv(71, 84%, 51%)
CMYKcmyk(15.4%, 0%, 83.8%, 49%)
CIE-LABlab(51.08, -21.66, 51.02)
CIE-LCHlch(51.08, 55.42, 113.00°)
OKLaboklab(57.09% -0.0647 0.111)
OKLCHoklch(57.09% 0.128 120.3)
XYZxyz(14.5487, 19.3345, 3.6748)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8215 #291582
analogous
#826015 #6E8215 #388215
triadic
#6E8215 #156E82 #82156E
tetradic
#6E8215 #158260 #291582 #821538
square
#6E8215 #158260 #291582 #821538
split-complementary
#6E8215 #153882 #601582
monochromatic
#161A04 #414D0C #6E8215 #9BB71E #BFDE33

Accessibility & contrast

On white

4.31
#6E8215 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#6E8215 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8215
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8215#FFFFFF#000000##000000
##6E82151.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#887A21
Tritanopia (blue-blind)
#757B6E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6e8215;
/* rgb */ color: rgb(110, 130, 21);
/* oklch */ color: oklch(57.1% 0.128 120.3);
Tailwind
colors: {
  custom: {
    50: '#9ba65e',
    500: '#6e8215',
    950: '#000000',
  },
}
SCSS
$custom: #6e8215;
$custom-light: #9ba65e;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8215",
  "rgb": {
    "r": 110,
    "g": 130,
    "b": 21
  },
  "hsl": {
    "h": 71.009,
    "s": 72.185,
    "l": 29.608
  },
  "oklch": {
    "l": 0.57087,
    "c": 0.12846,
    "h": 120.3
  },
  "luminance": 0.19334
}

Semantic roles & 50–950 ramp

primary
#6E8215
secondary
#533CB7
accent
#39EF5A
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6E8215

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

Preview Lab → · Contrast checker → · Palette generator →

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