#6E8915#6E8915

#6E8915 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.8% C 0.137 H 122.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#6E8915
RGBrgb(110, 137, 21)
HSLhsl(74, 73%, 31%)
HSVhsv(74, 85%, 54%)
CMYKcmyk(19.7%, 0%, 84.7%, 46.3%)
CIE-LABlab(53.23, -25.18, 52.91)
CIE-LCHlch(53.23, 58.59, 115.45°)
OKLaboklab(58.83% -0.0743 0.115)
OKLCHoklch(58.83% 0.137 122.9)
XYZxyz(15.5117, 21.2604, 3.9958)
Luminance0.2126 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8915 #301589
analogous
#896A15 #6E8915 #348915
triadic
#6E8915 #156E89 #89156E
tetradic
#6E8915 #15896A #301589 #891534
square
#6E8915 #15896A #301589 #891534
split-complementary
#6E8915 #153489 #6A1589
monochromatic
#191F05 #43540D #6E8915 #99BE1D #B9E038

Accessibility & contrast

On white

4.00
#6E8915 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#6E8915 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8915
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8915#FFFFFF#000000##000000
##6E89151.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#8E7F22
Tritanopia (blue-blind)
#748274
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6e8915;
/* rgb */ color: rgb(110, 137, 21);
/* oklch */ color: oklch(58.8% 0.137 122.9);
Tailwind
colors: {
  custom: {
    50: '#9bab5f',
    500: '#6e8915',
    950: '#000000',
  },
}
SCSS
$custom: #6e8915;
$custom-light: #9bab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8915",
  "rgb": {
    "r": 110,
    "g": 137,
    "b": 21
  },
  "hsl": {
    "h": 73.966,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5883,
    "c": 0.13693,
    "h": 122.9
  },
  "luminance": 0.2126
}

Semantic roles & 50–950 ramp

primary
#6E8915
secondary
#5B3DBD
accent
#38F063
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0F1005
muted
#7E7F79

Preview Lab

Preview with #6E8915

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

Preview Lab → · Contrast checker → · Palette generator →

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