#677A28#677A28

#677A28 is a mid, moderate yellow-green. Relative luminance 0.170; OKLCH L 54.7% C 0.109 H 121.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#677A28
RGBrgb(103, 122, 40)
HSLhsl(74, 51%, 32%)
HSVhsv(74, 67%, 48%)
CMYKcmyk(15.6%, 0%, 67.2%, 52.2%)
CIE-LABlab(48.20, -19.55, 41.05)
CIE-LCHlch(48.20, 45.47, 115.47°)
OKLaboklab(54.68% -0.0568 0.0934)
OKLCHoklch(54.68% 0.109 121.3)
XYZxyz(12.9362, 16.9558, 4.5984)
Luminance0.1696 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#677A28 #3B287A
analogous
#7A6428 #677A28 #3E7A28
triadic
#677A28 #28677A #7A2867
tetradic
#677A28 #287A64 #3B287A #7A283E
square
#677A28 #287A64 #3B287A #7A283E
split-complementary
#677A28 #283E7A #64287A
monochromatic
#191E0A #404C19 #677A28 #8EA837 #ADC755

Accessibility & contrast

On white

4.78
#677A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#677A28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #677A28
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##677A28#FFFFFF#000000##FFFFFF
##677A281.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81731D
Deuteranopia (green-blind)
#7F732E
Tritanopia (blue-blind)
#6D7469
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #677a28;
/* rgb */ color: rgb(103, 122, 40);
/* oklch */ color: oklch(54.7% 0.109 121.3);
Tailwind
colors: {
  custom: {
    50: '#95a066',
    500: '#677a28',
    950: '#000000',
  },
}
SCSS
$custom: #677a28;
$custom-light: #95a066;
$custom-dark: #000000;
JSON
{
  "hex": "#677a28",
  "rgb": {
    "r": 103,
    "g": 122,
    "b": 40
  },
  "hsl": {
    "h": 73.902,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54678,
    "c": 0.10933,
    "h": 121.3
  },
  "luminance": 0.16956
}

Semantic roles & 50–950 ramp

primary
#677A28
secondary
#6752AC
accent
#4EDA6E
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0D0E06
muted
#7E7E7A

Preview Lab

Preview with #677A28

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

Preview Lab → · Contrast checker → · Palette generator →

#677A28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva