#6A784B#6A784B

#6A784B is a mid, moderate yellow-green. Relative luminance 0.170; OKLCH L 54.9% C 0.068 H 122.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#6A784B
RGBrgb(106, 120, 75)
HSLhsl(79, 23%, 38%)
HSVhsv(79, 38%, 47%)
CMYKcmyk(11.7%, 0%, 37.5%, 52.9%)
CIE-LABlab(48.27, -13.39, 23.03)
CIE-LCHlch(48.27, 26.64, 120.18°)
OKLaboklab(54.93% -0.0365 0.0569)
OKLCHoklch(54.93% 0.068 122.7)
XYZxyz(13.9303, 17.0051, 9.2037)
Luminance0.1701 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A784B #594B78
analogous
#786F4B #6A784B #53784B
triadic
#6A784B #4B6A78 #784B6A
tetradic
#6A784B #4B786F #594B78 #784B53
square
#6A784B #4B786F #594B78 #784B53
split-complementary
#6A784B #4B5378 #6F4B78
monochromatic
#272D1C #495233 #6A784B #8B9D63 #A7B588

Accessibility & contrast

On white

4.77
#6A784B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#6A784B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A784B
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A784B#FFFFFF#000000##FFFFFF
##6A784B1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7348
Deuteranopia (green-blind)
#7B734D
Tritanopia (blue-blind)
#6D746D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6a784b;
/* rgb */ color: rgb(106, 120, 75);
/* oklch */ color: oklch(54.9% 0.068 122.7);
Tailwind
colors: {
  custom: {
    50: '#959f7e',
    500: '#6a784b',
    950: '#000000',
  },
}
SCSS
$custom: #6a784b;
$custom-light: #959f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#6a784b",
  "rgb": {
    "r": 106,
    "g": 120,
    "b": 75
  },
  "hsl": {
    "h": 78.667,
    "s": 23.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.54931,
    "c": 0.06761,
    "h": 122.7
  },
  "luminance": 0.17005
}

Semantic roles & 50–950 ramp

primary
#6A784B
secondary
#897DA1
accent
#68C083
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0D0E0A
muted
#7E7E7C

Preview Lab

Preview with #6A784B

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

Preview Lab → · Contrast checker → · Palette generator →

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