#6A8A27#6A8A27

#6A8A27 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.9% C 0.130 H 125.8°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6A8A27
RGBrgb(106, 138, 39)
HSLhsl(79, 56%, 35%)
HSVhsv(79, 72%, 54%)
CMYKcmyk(23.2%, 0%, 71.7%, 45.9%)
CIE-LABlab(53.37, -26.44, 46.88)
CIE-LCHlch(53.37, 53.82, 119.42°)
OKLaboklab(58.9% -0.0761 0.1055)
OKLCHoklch(58.9% 0.13 125.8)
XYZxyz(15.3986, 21.3874, 5.2360)
Luminance0.2139 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8A27 #47278A
analogous
#8A7927 #6A8A27 #398A27
triadic
#6A8A27 #276A8A #8A276A
tetradic
#6A8A27 #278A79 #47278A #8A2739
square
#6A8A27 #278A79 #47278A #8A2739
split-complementary
#6A8A27 #27398A #79278A
monochromatic
#212B0C #455A1A #6A8A27 #8FBA34 #ABD15B

Accessibility & contrast

On white

3.98
#6A8A27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#6A8A27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8A27
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8A27#FFFFFF#000000##000000
##6A8A271.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928117
Deuteranopia (green-blind)
#8D7F2F
Tritanopia (blue-blind)
#6F8376
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6a8a27;
/* rgb */ color: rgb(106, 138, 39);
/* oklch */ color: oklch(58.9% 0.130 125.8);
Tailwind
colors: {
  custom: {
    50: '#98ac68',
    500: '#6a8a27',
    950: '#000000',
  },
}
SCSS
$custom: #6a8a27;
$custom-light: #98ac68;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8a27",
  "rgb": {
    "r": 106,
    "g": 138,
    "b": 39
  },
  "hsl": {
    "h": 79.394,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58903,
    "c": 0.13004,
    "h": 125.8
  },
  "luminance": 0.21388
}

Semantic roles & 50–950 ramp

primary
#6A8A27
secondary
#7657B6
accent
#49DF79
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6A8A27

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

Preview Lab → · Contrast checker → · Palette generator →

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