#6A7D16#6A7D16

#6A7D16 is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.5% C 0.124 H 120.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#6A7D16
RGBrgb(106, 125, 22)
HSLhsl(71, 70%, 29%)
HSVhsv(71, 82%, 49%)
CMYKcmyk(15.2%, 0%, 82.4%, 51%)
CIE-LABlab(49.24, -20.83, 48.98)
CIE-LCHlch(49.24, 53.22, 113.04°)
OKLaboklab(55.53% -0.0621 0.107)
OKLCHoklch(55.53% 0.124 120.2)
XYZxyz(13.4226, 17.7894, 3.4855)
Luminance0.1779 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7D16 #29167D
analogous
#7D5D16 #6A7D16 #377D16
triadic
#6A7D16 #166A7D #7D166A
tetradic
#6A7D16 #167D5D #29167D #7D1637
square
#6A7D16 #167D5D #29167D #7D1637
split-complementary
#6A7D16 #16377D #5D167D
monochromatic
#161A05 #3E490D #6A7D16 #96B11F #BCDB32

Accessibility & contrast

On white

4.61
#6A7D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#6A7D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6A7D16
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7D16#FFFFFF#000000##FFFFFF
##6A7D161.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#837521
Tritanopia (blue-blind)
#71766A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6a7d16;
/* rgb */ color: rgb(106, 125, 22);
/* oklch */ color: oklch(55.5% 0.124 120.2);
Tailwind
colors: {
  custom: {
    50: '#98a25e',
    500: '#6a7d16',
    950: '#000000',
  },
}
SCSS
$custom: #6a7d16;
$custom-light: #98a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7d16",
  "rgb": {
    "r": 106,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 71.068,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55532,
    "c": 0.1237,
    "h": 120.2
  },
  "luminance": 0.17789
}

Semantic roles & 50–950 ramp

primary
#6A7D16
secondary
#523DB2
accent
#3BED5C
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6A7D16

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

Preview Lab → · Contrast checker → · Palette generator →

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