#6A7D18#6A7D18

#6A7D18 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#6A7D18
RGBrgb(106, 125, 24)
HSLhsl(71, 68%, 29%)
HSVhsv(71, 81%, 49%)
CMYKcmyk(15.2%, 0%, 80.8%, 51%)
CIE-LABlab(49.25, -20.74, 48.36)
CIE-LCHlch(49.25, 52.62, 113.21°)
OKLaboklab(55.54% -0.0617 0.106)
OKLCHoklch(55.54% 0.123 120.2)
XYZxyz(13.4426, 17.7974, 3.5910)
Luminance0.1780 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7D18 #2B187D
analogous
#7D5E18 #6A7D18 #387D18
triadic
#6A7D18 #186A7D #7D186A
tetradic
#6A7D18 #187D5E #2B187D #7D1838
square
#6A7D18 #187D5E #2B187D #7D1838
split-complementary
#6A7D18 #18387D #5E187D
monochromatic
#161A05 #3E4A0E #6A7D18 #96B022 #BAD937

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A7D18#FFFFFF#000000##FFFFFF
##6A7D181.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)
#837522
Tritanopia (blue-blind)
#71766A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6a7d18;
/* rgb */ color: rgb(106, 125, 24);
/* oklch */ color: oklch(55.5% 0.123 120.2);
Tailwind
colors: {
  custom: {
    50: '#98a25f',
    500: '#6a7d18',
    950: '#000000',
  },
}
SCSS
$custom: #6a7d18;
$custom-light: #98a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7d18",
  "rgb": {
    "r": 106,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 71.287,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55543,
    "c": 0.12267,
    "h": 120.2
  },
  "luminance": 0.17797
}

Semantic roles & 50–950 ramp

primary
#6A7D18
secondary
#553FB2
accent
#3DEB5E
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6A7D18

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

Preview Lab → · Contrast checker → · Palette generator →

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