#6A7C19#6A7C19

#6A7C19 is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 55.3% C 0.121 H 119.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#6A7C19
RGBrgb(106, 124, 25)
HSLhsl(71, 66%, 29%)
HSVhsv(71, 80%, 49%)
CMYKcmyk(14.5%, 0%, 79.8%, 51.4%)
CIE-LABlab(48.95, -20.18, 47.75)
CIE-LCHlch(48.95, 51.84, 112.91°)
OKLaboklab(55.3% -0.0601 0.1049)
OKLCHoklch(55.3% 0.121 119.8)
XYZxyz(13.3272, 17.5497, 3.6049)
Luminance0.1755 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7C19 #2B197C
analogous
#7C5D19 #6A7C19 #397C19
triadic
#6A7C19 #196A7C #7C196A
tetradic
#6A7C19 #197C5D #2B197C #7C1939
square
#6A7C19 #197C5D #2B197C #7C1939
split-complementary
#6A7C19 #19397C #5D197C
monochromatic
#161905 #3E490F #6A7C19 #96AF23 #BAD738

Accessibility & contrast

On white

4.66
#6A7C19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#6A7C19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6A7C19
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7C19#FFFFFF#000000##FFFFFF
##6A7C191.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#827522
Tritanopia (blue-blind)
#71756A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6a7c19;
/* rgb */ color: rgb(106, 124, 25);
/* oklch */ color: oklch(55.3% 0.121 119.8);
Tailwind
colors: {
  custom: {
    50: '#98a15f',
    500: '#6a7c19',
    950: '#000000',
  },
}
SCSS
$custom: #6a7c19;
$custom-light: #98a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7c19",
  "rgb": {
    "r": 106,
    "g": 124,
    "b": 25
  },
  "hsl": {
    "h": 70.909,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55299,
    "c": 0.12091,
    "h": 119.8
  },
  "luminance": 0.1755
}

Semantic roles & 50–950 ramp

primary
#6A7C19
secondary
#5540B0
accent
#3EE95E
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6A7C19

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

Preview Lab → · Contrast checker → · Palette generator →

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