#6A8011#6A8011

#6A8011 is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 56.3% C 0.130 H 121.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#6A8011
RGBrgb(106, 128, 17)
HSLhsl(72, 77%, 28%)
HSVhsv(72, 87%, 50%)
CMYKcmyk(17.2%, 0%, 86.7%, 49.8%)
CIE-LABlab(50.15, -22.55, 51.17)
CIE-LCHlch(50.15, 55.92, 113.79°)
OKLaboklab(56.26% -0.0672 0.1108)
OKLCHoklch(56.26% 0.13 121.3)
XYZxyz(13.7645, 18.5430, 3.3842)
Luminance0.1854 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8011 #271180
analogous
#805E11 #6A8011 #328011
triadic
#6A8011 #116A80 #80116A
tetradic
#6A8011 #11805E #271180 #801132
square
#6A8011 #11805E #271180 #801132
split-complementary
#6A8011 #113280 #5E1180
monochromatic
#161B04 #3D4A0A #6A8011 #97B618 #BEE329

Accessibility & contrast

On white

4.46
#6A8011 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#6A8011 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8011
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8011#FFFFFF#000000##000000
##6A80111.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#86771E
Tritanopia (blue-blind)
#70796D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6a8011;
/* rgb */ color: rgb(106, 128, 17);
/* oklch */ color: oklch(56.3% 0.130 121.3);
Tailwind
colors: {
  custom: {
    50: '#98a45c',
    500: '#6a8011',
    950: '#000000',
  },
}
SCSS
$custom: #6a8011;
$custom-light: #98a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8011",
  "rgb": {
    "r": 106,
    "g": 128,
    "b": 17
  },
  "hsl": {
    "h": 71.892,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.56258,
    "c": 0.12955,
    "h": 121.3
  },
  "luminance": 0.18543
}

Semantic roles & 50–950 ramp

primary
#6A8011
secondary
#5037B6
accent
#35F35A
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6A8011

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

Preview Lab → · Contrast checker → · Palette generator →

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