#6A8E1C#6A8E1C

#6A8E1C is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 59.8% C 0.142 H 126.3°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#6A8E1C
RGBrgb(106, 142, 28)
HSLhsl(79, 67%, 33%)
HSVhsv(79, 80%, 56%)
CMYKcmyk(25.4%, 0%, 80.3%, 44.3%)
CIE-LABlab(54.55, -29.01, 51.94)
CIE-LCHlch(54.55, 59.49, 119.18°)
OKLaboklab(59.84% -0.084 0.1143)
OKLCHoklch(59.84% 0.142 126.3)
XYZxyz(15.8266, 22.4937, 4.6063)
Luminance0.2249 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8E1C #401C8E
analogous
#8E791C #6A8E1C #318E1C
triadic
#6A8E1C #1C6A8E #8E1C6A
tetradic
#6A8E1C #1C8E79 #401C8E #8E1C31
square
#6A8E1C #1C8E79 #401C8E #8E1C31
split-complementary
#6A8E1C #1C318E #791C8E
monochromatic
#1E2808 #445B12 #6A8E1C #90C126 #ADDB49

Accessibility & contrast

On white

3.82
#6A8E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#6A8E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8E1C
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8E1C#FFFFFF#000000##000000
##6A8E1C1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#918228
Tritanopia (blue-blind)
#6F8779
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6a8e1c;
/* rgb */ color: rgb(106, 142, 28);
/* oklch */ color: oklch(59.8% 0.142 126.3);
Tailwind
colors: {
  custom: {
    50: '#98af63',
    500: '#6a8e1c',
    950: '#000000',
  },
}
SCSS
$custom: #6a8e1c;
$custom-light: #98af63;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8e1c",
  "rgb": {
    "r": 106,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 78.947,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59835,
    "c": 0.14183,
    "h": 126.3
  },
  "luminance": 0.22494
}

Semantic roles & 50–950 ramp

primary
#6A8E1C
secondary
#6D49BD
accent
#3EEA74
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6A8E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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