#6A7D17#6A7D17

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

Color values

HEX#6A7D17
RGBrgb(106, 125, 23)
HSLhsl(71, 69%, 29%)
HSVhsv(71, 82%, 49%)
CMYKcmyk(15.2%, 0%, 81.6%, 51%)
CIE-LABlab(49.24, -20.79, 48.67)
CIE-LCHlch(49.24, 52.93, 113.12°)
OKLaboklab(55.54% -0.062 0.1065)
OKLCHoklch(55.54% 0.123 120.2)
XYZxyz(13.4324, 17.7933, 3.5373)
Luminance0.1779 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7D17 #2A177D
analogous
#7D5D17 #6A7D17 #377D17
triadic
#6A7D17 #176A7D #7D176A
tetradic
#6A7D17 #177D5D #2A177D #7D1737
square
#6A7D17 #177D5D #2A177D #7D1737
split-complementary
#6A7D17 #17377D #5D177D
monochromatic
#161A05 #3E490D #6A7D17 #96B121 #BBDA35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A7D17#FFFFFF#000000##FFFFFF
##6A7D171.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: #6a7d17;
/* rgb */ color: rgb(106, 125, 23);
/* oklch */ color: oklch(55.5% 0.123 120.2);
Tailwind
colors: {
  custom: {
    50: '#98a25e',
    500: '#6a7d17',
    950: '#000000',
  },
}
SCSS
$custom: #6a7d17;
$custom-light: #98a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7d17",
  "rgb": {
    "r": 106,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 71.176,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55537,
    "c": 0.1232,
    "h": 120.2
  },
  "luminance": 0.17793
}

Semantic roles & 50–950 ramp

primary
#6A7D17
secondary
#543EB2
accent
#3CEC5D
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6A7D17

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

Preview Lab → · Contrast checker → · Palette generator →

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