#6A7E16#6A7E16

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

Color values

HEX#6A7E16
RGBrgb(106, 126, 22)
HSLhsl(72, 70%, 29%)
HSVhsv(72, 83%, 49%)
CMYKcmyk(15.9%, 0%, 82.5%, 50.6%)
CIE-LABlab(49.55, -21.34, 49.26)
CIE-LCHlch(49.55, 53.68, 113.43°)
OKLaboklab(55.78% -0.0636 0.1075)
OKLCHoklch(55.78% 0.125 120.6)
XYZxyz(13.5498, 18.0438, 3.5279)
Luminance0.1804 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7E16 #2A167E
analogous
#7E5E16 #6A7E16 #367E16
triadic
#6A7E16 #166A7E #7E166A
tetradic
#6A7E16 #167E5E #2A167E #7E1636
square
#6A7E16 #167E5E #2A167E #7E1636
split-complementary
#6A7E16 #16367E #5E167E
monochromatic
#161A05 #3E4A0D #6A7E16 #96B21F #BBDB33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A7E16#FFFFFF#000000##000000
##6A7E161.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)
#867600
Deuteranopia (green-blind)
#847621
Tritanopia (blue-blind)
#70776B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6a7e16;
/* rgb */ color: rgb(106, 126, 22);
/* oklch */ color: oklch(55.8% 0.125 120.6);
Tailwind
colors: {
  custom: {
    50: '#98a35e',
    500: '#6a7e16',
    950: '#000000',
  },
}
SCSS
$custom: #6a7e16;
$custom-light: #98a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7e16",
  "rgb": {
    "r": 106,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 71.538,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55782,
    "c": 0.12492,
    "h": 120.6
  },
  "luminance": 0.18044
}

Semantic roles & 50–950 ramp

primary
#6A7E16
secondary
#543DB3
accent
#3BED5D
background
#F9FAF5
surface
#F2F3E9
border
#CCCDC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6A7E16

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

Preview Lab → · Contrast checker → · Palette generator →

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