#6A8010#6A8010

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

Color values

HEX#6A8010
RGBrgb(106, 128, 16)
HSLhsl(72, 78%, 28%)
HSVhsv(72, 88%, 50%)
CMYKcmyk(17.2%, 0%, 87.5%, 49.8%)
CIE-LABlab(50.14, -22.59, 51.41)
CIE-LCHlch(50.14, 56.15, 113.72°)
OKLaboklab(56.25% -0.0674 0.1111)
OKLCHoklch(56.25% 0.13 121.2)
XYZxyz(13.7568, 18.5399, 3.3439)
Luminance0.1854 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8010 #261080
analogous
#805E10 #6A8010 #328010
triadic
#6A8010 #106A80 #80106A
tetradic
#6A8010 #10805E #261080 #801032
square
#6A8010 #10805E #261080 #801032
split-complementary
#6A8010 #103280 #5E1080
monochromatic
#171B03 #3D4A09 #6A8010 #97B617 #BFE426

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A8010#FFFFFF#000000##000000
##6A80101.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)
#86771D
Tritanopia (blue-blind)
#70796D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6a8010;
/* rgb */ color: rgb(106, 128, 16);
/* oklch */ color: oklch(56.3% 0.130 121.2);
Tailwind
colors: {
  custom: {
    50: '#98a45c',
    500: '#6a8010',
    950: '#000000',
  },
}
SCSS
$custom: #6a8010;
$custom-light: #98a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8010",
  "rgb": {
    "r": 106,
    "g": 128,
    "b": 16
  },
  "hsl": {
    "h": 71.786,
    "s": 77.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.56254,
    "c": 0.12993,
    "h": 121.2
  },
  "luminance": 0.1854
}

Semantic roles & 50–950 ramp

primary
#6A8010
secondary
#4F36B6
accent
#34F459
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6A8010

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

Preview Lab → · Contrast checker → · Palette generator →

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