#6E8A1C#6E8A1C

#6E8A1C is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 59.1% C 0.135 H 123.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6E8A1C
RGBrgb(110, 138, 28)
HSLhsl(75, 66%, 33%)
HSVhsv(75, 80%, 54%)
CMYKcmyk(20.3%, 0%, 79.7%, 45.9%)
CIE-LABlab(53.57, -25.38, 51.15)
CIE-LCHlch(53.57, 57.10, 116.39°)
OKLaboklab(59.12% -0.0744 0.1125)
OKLCHoklch(59.12% 0.135 123.5)
XYZxyz(15.7287, 21.5757, 4.4343)
Luminance0.2158 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8A1C #381C8A
analogous
#8A6F1C #6E8A1C #378A1C
triadic
#6E8A1C #1C6E8A #8A1C6E
tetradic
#6E8A1C #1C8A6F #381C8A #8A1C37
square
#6E8A1C #1C8A6F #381C8A #8A1C37
split-complementary
#6E8A1C #1C378A #6F1C8A
monochromatic
#1D2407 #455712 #6E8A1C #97BD26 #B4DA47

Accessibility & contrast

On white

3.95
#6E8A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#6E8A1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8A1C
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8A1C#FFFFFF#000000##000000
##6E8A1C1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#8F8027
Tritanopia (blue-blind)
#748376
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6e8a1c;
/* rgb */ color: rgb(110, 138, 28);
/* oklch */ color: oklch(59.1% 0.135 123.5);
Tailwind
colors: {
  custom: {
    50: '#9bac62',
    500: '#6e8a1c',
    950: '#000000',
  },
}
SCSS
$custom: #6e8a1c;
$custom-light: #9bac62;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8a1c",
  "rgb": {
    "r": 110,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 75.273,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.59116,
    "c": 0.13483,
    "h": 123.5
  },
  "luminance": 0.21576
}

Semantic roles & 50–950 ramp

primary
#6E8A1C
secondary
#6446BB
accent
#3FE96A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6E8A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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