#6A7E11#6A7E11

#6A7E11 is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.8% C 0.127 H 120.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#6A7E11
RGBrgb(106, 126, 17)
HSLhsl(71, 76%, 28%)
HSVhsv(71, 87%, 49%)
CMYKcmyk(15.9%, 0%, 86.5%, 50.6%)
CIE-LABlab(49.53, -21.53, 50.63)
CIE-LCHlch(49.53, 55.02, 113.04°)
OKLaboklab(55.76% -0.0644 0.1096)
OKLCHoklch(55.76% 0.127 120.4)
XYZxyz(13.5062, 18.0264, 3.2981)
Luminance0.1803 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7E11 #25117E
analogous
#7E5B11 #6A7E11 #337E11
triadic
#6A7E11 #116A7E #7E116A
tetradic
#6A7E11 #117E5B #25117E #7E1133
square
#6A7E11 #117E5B #25117E #7E1133
split-complementary
#6A7E11 #11337E #5B117E
monochromatic
#171B04 #3D480A #6A7E11 #97B418 #C0E227

Accessibility & contrast

On white

4.56
#6A7E11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#6A7E11 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A7E11
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7E11#FFFFFF#000000##000000
##6A7E111.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#84761E
Tritanopia (blue-blind)
#71776B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6a7e11;
/* rgb */ color: rgb(106, 126, 17);
/* oklch */ color: oklch(55.8% 0.127 120.4);
Tailwind
colors: {
  custom: {
    50: '#98a35c',
    500: '#6a7e11',
    950: '#000000',
  },
}
SCSS
$custom: #6a7e11;
$custom-light: #98a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7e11",
  "rgb": {
    "r": 106,
    "g": 126,
    "b": 17
  },
  "hsl": {
    "h": 71.009,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.55758,
    "c": 0.12714,
    "h": 120.4
  },
  "luminance": 0.18026
}

Semantic roles & 50–950 ramp

primary
#6A7E11
secondary
#4E37B4
accent
#35F358
background
#F9FAF5
surface
#F2F3E9
border
#CCCDC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6A7E11

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

Preview Lab → · Contrast checker → · Palette generator →

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